summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-12-05 00:09:12 +0100
committerlhofhansl <larsh@apache.org>2020-12-04 19:06:16 -0800
commit07e0b527cf3e6e4f1bf36823940216efef59d8c9 (patch)
tree616697e451a89d02a9850dfa101343a9d4013908 /src
parent08c9d1a66963eb2ecbca2681a0d473d4103e3f1e (diff)
downloadminetest-07e0b527cf3e6e4f1bf36823940216efef59d8c9.tar.gz
minetest-07e0b527cf3e6e4f1bf36823940216efef59d8c9.tar.bz2
minetest-07e0b527cf3e6e4f1bf36823940216efef59d8c9.zip
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
This reverts commit 2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191.
Diffstat (limited to 'src')
-rw-r--r--src/defaultsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 42e7fc16b..177955589 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -42,7 +42,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("mute_sound", "false");
settings->setDefault("enable_mesh_cache", "false");
settings->setDefault("mesh_generation_interval", "0");
- settings->setDefault("meshgen_block_cache_size", "40");
+ settings->setDefault("meshgen_block_cache_size", "20");
settings->setDefault("enable_vbo", "true");
settings->setDefault("free_move", "false");
settings->setDefault("pitch_move", "false");
@@ -343,7 +343,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("port", "30000");
settings->setDefault("strict_protocol_version_checking", "false");
settings->setDefault("player_transfer_distance", "0");
- settings->setDefault("max_simultaneous_block_sends_per_client", "128");
+ settings->setDefault("max_simultaneous_block_sends_per_client", "40");
settings->setDefault("time_send_interval", "5");
settings->setDefault("default_game", "minetest");