Skip to content

Commit

Permalink
Merge pull request #1607 from evshary/add_log
Browse files Browse the repository at this point in the history
Add trace log while dropping the messages.
  • Loading branch information
Mallets authored Nov 22, 2024
2 parents dacb2a5 + c3d1c99 commit 9a84e6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions io/zenoh-transport/src/common/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ impl StageIn {
// Still no available batch.
// Restore the sequence number and drop the message
$($restore_sn)?
tracing::trace!(
"Zenoh message dropped because it's over the deadline {:?}: {:?}",
deadline.lazy_deadline.wait_time, msg
);
return false;
}
c_guard = self.mutex.current();
Expand Down

0 comments on commit 9a84e6d

Please sign in to comment.