Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets committed Aug 28, 2024
1 parent 582d59b commit 28b9dd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion commons/zenoh-sync/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2023 ZettaScale Technology
// Copyright (c) 2024 ZettaScale Technology
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License 2.0 which is available at
Expand Down
1 change: 0 additions & 1 deletion io/zenoh-transport/src/common/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ impl TransmissionPipelineConsumer {
// While trying to pull from the queue, the stage_in `lock()` will most likely taken, leading to
// a spinning behaviour while attempting to take the lock. Yield the current task to avoid
// spinning the current task indefinitely.
// std::thread::yield_now();
tokio::task::yield_now().await;

// Wait for the backoff to expire or for a new message
Expand Down

0 comments on commit 28b9dd8

Please sign in to comment.