From 7de83ee5a5af5051bc5467375ad23b8fee4e5089 Mon Sep 17 00:00:00 2001 From: Graham King Date: Tue, 6 Feb 2024 17:31:22 -0500 Subject: [PATCH] feat(subscriber): Minor name change --- console-subscriber/src/aggregator/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/console-subscriber/src/aggregator/mod.rs b/console-subscriber/src/aggregator/mod.rs index 98b223c35..b6846d62e 100644 --- a/console-subscriber/src/aggregator/mod.rs +++ b/console-subscriber/src/aggregator/mod.rs @@ -294,8 +294,8 @@ impl Aggregator { metadata: (*self.all_metadata).clone(), }), }; - let el = update.encoded_len(); - if el < MAX_MESSAGE_SIZE { + let message_size = update.encoded_len(); + if message_size < MAX_MESSAGE_SIZE { // normal case break Some(update); } @@ -305,7 +305,7 @@ impl Aggregator { self.cleanup_closed(); tracing::debug!( retention = ?self.retention, - message_size = el, + message_size, max_message_size = MAX_MESSAGE_SIZE, "Message too big, reduced retention", );