From: Perttu Ahola Date: Thu, 1 Dec 2011 23:20:54 +0000 (+0200) Subject: Higher default map save and unload interval X-Git-Tag: 0.4.dev-20111202-1~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8bbecebf546d27c469ed0b7962909f0bf126675;p=oweals%2Fminetest.git Higher default map save and unload interval --- 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"); }