aboutsummaryrefslogtreecommitdiff
path: root/src/client/client.cpp
diff options
context:
space:
mode:
authorlhofhansl <larsh@apache.org>2023-02-21 16:33:21 -0800
committerGitHub <noreply@github.com>2023-02-21 16:33:21 -0800
commit63c378fb5b7ab3130ac7c63d4ccebda96921d6a6 (patch)
tree12f8aaf63c3edf898b2c22e5e12d50995dc8c009 /src/client/client.cpp
parent2553db5c81fe43fb5137e44da5314518f42d1f4b (diff)
downloadminetest-63c378fb5b7ab3130ac7c63d4ccebda96921d6a6.tar.xz
Reduce client's packet processing budget per iteration from 100 to 10ms. (#13237)
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r--src/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
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