We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66fc47 commit b03fe93Copy full SHA for b03fe93
crates/batcher/src/lib.rs
@@ -1412,10 +1412,9 @@ impl Batcher {
1412
1413
// Update metrics
1414
let queue_len = batch_state_lock.batch_queue.len();
1415
- let queue_size_bytes: i64 = 0;
1416
- // let queue_size_bytes = calculate_batch_size(&batch_state_lock.batch_queue)?;
+ let queue_size_bytes = calculate_batch_size(&batch_state_lock.batch_queue)?;
1417
self.metrics
1418
- .update_queue_metrics(queue_len as i64, queue_size_bytes);
+ .update_queue_metrics(queue_len as i64, queue_size_bytes as i64);
1419
1420
info!("Current batch queue length: {}", queue_len);
1421
0 commit comments