From e30fb32aa56a8849c1332ed643ca5529fb90f7f4 Mon Sep 17 00:00:00 2001 From: vjabrayilov Date: Tue, 14 Nov 2023 22:51:30 -0500 Subject: [PATCH] send next window in 10ms --- 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 affea172..de017972 100644 --- a/src/apps/msg_gen/main.cc +++ b/src/apps/msg_gen/main.cc @@ -303,7 +303,7 @@ void ClientLoop(void *channel_ctx, MachnetFlow *flow) { int64_t rx_window_slot = ClientRecvOneBlocking(&thread_ctx); if (rx_window_slot < 0) { auto next = - std::chrono::steady_clock::now() + std::chrono::milliseconds(150); + std::chrono::steady_clock::now() + std::chrono::milliseconds(10); while (true) { rx_window_slot = ClientRecvOneBlocking(&thread_ctx); if (rx_window_slot > 0) break;