From: lhofhansl Date: Wed, 22 Feb 2023 00:33:21 +0000 (-0800) Subject: Reduce client's packet processing budget per iteration from 100 to 10ms. (#13237) X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=63c378fb5b7ab3130ac7c63d4ccebda96921d6a6;p=minetest.git Reduce client's packet processing budget per iteration from 100 to 10ms. (#13237) --- diff --git a/src/client/client.cpp b/src/client/client.cpp index 8fbd56ac8..6544dbaf6 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -923,7 +923,7 @@ void Client::ReceiveAll() { NetworkPacket pkt; u64 start_ms = porting::getTimeMs(); - const u64 budget = 100; + const u64 budget = 10; for(;;) { // Limit time even if there would be huge amounts of data to // process