From: Perttu Ahola Date: Thu, 1 Dec 2011 23:20:54 +0000 (+0200) Subject: Higher default map save and unload interval X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f8bbecebf546d27c469ed0b7962909f0bf126675;p=zefram%2Fminetest%2Fminetest_engine.git Higher default map save and unload interval --- diff --git a/minetest.conf.example b/minetest.conf.example index e936e05f..fad3716d 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 0c1e8e63..97adf0da 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"); }