summaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorAuke Kok <sofar+github@foo-projects.org>2017-02-08 23:00:37 -0800
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-02-09 08:00:37 +0100
commit5707b739f38cc5cf651de5b69d91d4f46511dac0 (patch)
tree42405cd0ff3d21738421fb98e01b7fb3f7f04908 /src/defaultsettings.cpp
parent3ad68c052bb4d58892b4d1e8cd6be59ea860df8f (diff)
downloadminetest-5707b739f38cc5cf651de5b69d91d4f46511dac0.tar.gz
minetest-5707b739f38cc5cf651de5b69d91d4f46511dac0.tar.bz2
minetest-5707b739f38cc5cf651de5b69d91d4f46511dac0.zip
Change default nodetimer_interval to 0.2s. (#5193)
We want to reduce the chance that we get lots and lots of node timers all happening once a second, because we're better off doing small bits of work as they are available. Reducing this to 0.2 seconds will greatly reduce the total amount of nodetimers that elapse at the same instance, while not effecting total work load. This results in a far better chance of the server keeping up with work loads.
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 84046f61c..bdf1f92ca 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -295,7 +295,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("dedicated_server_step", "0.1");
settings->setDefault("active_block_mgmt_interval", "2.0");
settings->setDefault("abm_interval", "1.0");
- settings->setDefault("nodetimer_interval", "1.0");
+ settings->setDefault("nodetimer_interval", "0.2");
settings->setDefault("ignore_world_load_errors", "false");
settings->setDefault("remote_media", "");
settings->setDefault("debug_log_level", "action");