Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix pipeline congestion shortcut synchronization #1740

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: typo
wyfo committed Jan 24, 2025
commit 47955b42fd865212fd2a1f2916a658c4559dca1c
4 changes: 2 additions & 2 deletions io/zenoh-transport/src/common/pipeline.rs
Original file line number Diff line number Diff line change
@@ -820,8 +820,8 @@ impl TransmissionPipelineProducer {
sent = queue.push_network_message(&msg, priority, &mut deadline)?;
// If the message is sent in the end, reset the status.
// Setting the status to `true` is only done with the stage_in mutex acquired,
// so there it is not possible that further messages see the congestion flag
// set after this point.
// so it is not possible that further messages see the congestion flag set
// after this point.
if sent {
self.status.set_congested(priority, false);
}