Higher default map save and unload interval
authorPerttu Ahola <celeron55@gmail.com>
Thu, 1 Dec 2011 23:20:54 +0000 (01:20 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 1 Dec 2011 23:20:54 +0000 (01:20 +0200)
minetest.conf.example
src/defaultsettings.cpp

index e936e05fc32660e285bf77392c1a2c4f241791f5..fad3716d23c16777d9550ceae619ab84094c7723 100644 (file)
 #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)
index 0c1e8e63c85e272ad6ffd0553c4390a5339579b3..97adf0da60f48fbf50fcfc40fee0087ff887630d 100644 (file)
@@ -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");
 }