Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Sep 21, 2024
1 parent 6f6a48d commit 34920d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rust/monovertex/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ impl SourceAcker {
}

pub(crate) async fn ack(&mut self, offsets: Vec<Offset>) -> Result<AckResponse> {
let start = tokio::time::Instant::now();
let n = offsets.len();

// send n ack requests
Expand All @@ -153,9 +152,6 @@ impl SourceAcker {
.ok_or(SourceError("failed to receive ack response".to_string()))?;
}

// TODO: emit latency metrics.
info!("acked {} messages in {:?}", n, start.elapsed().as_millis());

Ok(AckResponse {
result: Some(ack_response::Result { success: Some(()) }),
handshake: None,
Expand Down

0 comments on commit 34920d2

Please sign in to comment.