From 13cc7cfb1a5ef7e742d18b8a2708537681e8ffcb Mon Sep 17 00:00:00 2001 From: vjabrayilov Date: Tue, 14 Nov 2023 22:51:30 -0500 Subject: [PATCH] send next window in 70ms --- 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..a8989219 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(70); while (true) { rx_window_slot = ClientRecvOneBlocking(&thread_ctx); if (rx_window_slot > 0) break;