aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 01:20:54 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 01:20:54 +0200
commitf8bbecebf546d27c469ed0b7962909f0bf126675 (patch)
treed341944d76e81e55656658d941b824ffb75e64f9
parent9d67037570ef4dae5d97a820ea7ccd0a1a4328b6 (diff)
downloadminetest-f8bbecebf546d27c469ed0b7962909f0bf126675.tar.gz
minetest-f8bbecebf546d27c469ed0b7962909f0bf126675.tar.bz2
minetest-f8bbecebf546d27c469ed0b7962909f0bf126675.zip
Higher default map save and unload interval
-rw-r--r--minetest.conf.example4
-rw-r--r--src/defaultsettings.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index e936e05fc..fad3716d2 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -144,8 +144,8 @@
#time_send_interval = 20
# Length of day/night cycle. 72=20min, 360=4min, 1=24hour
#time_speed = 72
-#server_unload_unused_data_timeout = 60
-#server_map_save_interval = 60
+#server_unload_unused_data_timeout = 29
+#server_map_save_interval = 5.3
#full_block_send_enable_min_time_from_building = 2.0
# Set to true to enable experimental features or stuff that is tested
# (varies from version to version, usually not useful at all)
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 0c1e8e63c..97adf0da6 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -106,8 +106,8 @@ void set_default_settings(Settings *settings)
settings->setDefault("max_block_generate_distance", "5");
settings->setDefault("time_send_interval", "20");
settings->setDefault("time_speed", "96");
- settings->setDefault("server_unload_unused_data_timeout", "19");
- settings->setDefault("server_map_save_interval", "1.238");
+ settings->setDefault("server_unload_unused_data_timeout", "29");
+ settings->setDefault("server_map_save_interval", "5.3");
settings->setDefault("full_block_send_enable_min_time_from_building", "2.0");
settings->setDefault("enable_experimental", "false");
}