From f8bbecebf546d27c469ed0b7962909f0bf126675 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 2 Dec 2011 01:20:54 +0200 Subject: [PATCH] Higher default map save and unload interval --- minetest.conf.example | 4 ++-- src/defaultsettings.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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"); } -- 2.30.2