From e508c478eb85dd9f7fe65bd47c692ce9fa2363b4 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 7 Sep 2022 13:54:50 +0200 Subject: [PATCH] Increase sleep duration before closing zenoh session to 2 secs We still saw some missed stop messages on the CI with the 1sec delay. --- apis/rust/node/src/communication/zenoh.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/rust/node/src/communication/zenoh.rs b/apis/rust/node/src/communication/zenoh.rs index 4e44eb4a..03f0a295 100644 --- a/apis/rust/node/src/communication/zenoh.rs +++ b/apis/rust/node/src/communication/zenoh.rs @@ -60,7 +60,7 @@ impl Drop for ZenohCommunicationLayer { // // TODO: create a minimal example to reproduce the dropped messages // and report this issue in the zenoh repo - std::thread::sleep(Duration::from_secs_f32(1.0)); + std::thread::sleep(Duration::from_secs_f32(2.0)); } }