Reduce dedicated server step to 0.09 (#6252)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Thu, 17 Aug 2017 17:16:02 +0000 (19:16 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2017 17:16:02 +0000 (19:16 +0200)
Minetest performance improvement has been huge since months, server step reduction will permit to handle client events a little bit faster without too many penalty costs due to core engine

builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp

index 2ee8f5e2c8b256fb1c76f46bfd8bf44989fb1ba4..298e706699ac0fab047e2511aba5519edd49636b 100644 (file)
@@ -1014,7 +1014,7 @@ max_objects_per_block (Maximum objects per block) int 64
 sqlite_synchronous (Synchronous SQLite) enum 2 0,1,2
 
 #    Length of a server tick and the interval at which objects are generally updated over network.
-dedicated_server_step (Dedicated server step) float 0.1
+dedicated_server_step (Dedicated server step) float 0.09
 
 #    Time in between active block management cycles
 active_block_mgmt_interval (Active Block Management interval) float 2.0
index f163965baab65d65aaa9345ce16c522307ed7abd..8ad579b43fbae37ad8750c529ef8e7386c43789c 100644 (file)
 
 #    Length of a server tick and the interval at which objects are generally updated over network.
 #    type: float
-# dedicated_server_step = 0.1
+# dedicated_server_step = 0.09
 
 #    Time in between active block management cycles
 #    type: float
index 5bdb5e14c47f37726a155228ac19b27dad40c4b6..5c797cf60b1f551e87ff112456430cc0a6d34d09 100644 (file)
@@ -340,7 +340,7 @@ void set_default_settings(Settings *settings)
        settings->setDefault("chat_message_limit_trigger_kick", "50");
        settings->setDefault("sqlite_synchronous", "2");
        settings->setDefault("full_block_send_enable_min_time_from_building", "2.0");
-       settings->setDefault("dedicated_server_step", "0.1");
+       settings->setDefault("dedicated_server_step", "0.09");
        settings->setDefault("active_block_mgmt_interval", "2.0");
        settings->setDefault("abm_interval", "1.0");
        settings->setDefault("nodetimer_interval", "0.2");