Improve the naming in the log message

This commit is contained in:
Clément Renault 2025-01-29 14:09:44 +01:00 committed by Kerollmops
parent 6112bd8caa
commit a00796c46a
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -80,8 +80,8 @@ pub(super) fn write_to_db(
let congestion_pct = (blocking_attempts as f64 / direct_attempts as f64) * 100.0; let congestion_pct = (blocking_attempts as f64 / direct_attempts as f64) * 100.0;
tracing::debug!( tracing::debug!(
"Channel congestion metrics - \ "Channel congestion metrics - \
Direct send attempts: {direct_attempts}, \ Attempts: {direct_attempts}, \
Blocking send attempts: {blocking_attempts} \ Blocked attempts: {blocking_attempts} \
({congestion_pct:.1}% congestion)" ({congestion_pct:.1}% congestion)"
); );