diff options
author | lhofhansl <lhofhansl@yahoo.com> | 2018-07-13 22:11:49 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-07-13 22:11:49 +0200 |
commit | a95aed88008d4b02c4530f5ba1ba50dbbefc7502 (patch) | |
tree | 67b65ce4ff2718fae607e856afcd7ace5d686c3d /src | |
parent | 8d629cf65bedde30f94a6b611a8ce339213f9774 (diff) | |
download | minetest-a95aed88008d4b02c4530f5ba1ba50dbbefc7502.tar.gz minetest-a95aed88008d4b02c4530f5ba1ba50dbbefc7502.tar.bz2 minetest-a95aed88008d4b02c4530f5ba1ba50dbbefc7502.zip |
Adjust some settings to modern environments and networks. (#7549)
Diffstat (limited to 'src')
-rw-r--r-- | src/defaultsettings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 277f56d2d..cd60efa30 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -298,7 +298,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", "10"); + settings->setDefault("max_simultaneous_block_sends_per_client", "40"); settings->setDefault("time_send_interval", "5"); settings->setDefault("default_game", "minetest"); @@ -351,10 +351,10 @@ void set_default_settings(Settings *settings) settings->setDefault("ignore_world_load_errors", "false"); settings->setDefault("remote_media", ""); settings->setDefault("debug_log_level", "action"); - settings->setDefault("emergequeue_limit_total", "256"); - settings->setDefault("emergequeue_limit_diskonly", "32"); - settings->setDefault("emergequeue_limit_generate", "32"); - settings->setDefault("num_emerge_threads", "1"); + settings->setDefault("emergequeue_limit_total", "512"); + settings->setDefault("emergequeue_limit_diskonly", "64"); + settings->setDefault("emergequeue_limit_generate", "64"); + settings->setDefault("num_emerge_threads", "0"); settings->setDefault("secure.enable_security", "true"); settings->setDefault("secure.trusted_mods", ""); settings->setDefault("secure.http_mods", ""); |