From 572e5dca3472edfa5512dd8388c403e18c8eb3c6 Mon Sep 17 00:00:00 2001 From: vjabrayilov Date: Tue, 14 Nov 2023 22:19:44 -0500 Subject: [PATCH] set sleep --- src/apps/msg_gen/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/msg_gen/main.cc b/src/apps/msg_gen/main.cc index 5eeafa82..cc6d5b9b 100644 --- a/src/apps/msg_gen/main.cc +++ b/src/apps/msg_gen/main.cc @@ -302,7 +302,7 @@ void ClientLoop(void *channel_ctx, MachnetFlow *flow) { int64_t rx_window_slot = ClientRecvOneBlocking(&thread_ctx); if (rx_window_slot < 0) { - std::this_thread::sleep_for(std::chrono::microseconds(500)); + std::this_thread::sleep_for(std::chrono::microseconds(200)); rx_window_slot = ++FLAGS_msg_window; // LOG(INFO) << "Server busy ... increasing window size to " // << rx_window_slot;