Default max_simultaneous_block_sends_server_total to 2 to make network not cough...
authorPerttu Ahola <celeron55@gmail.com>
Wed, 19 Oct 2011 16:34:47 +0000 (19:34 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Wed, 19 Oct 2011 16:34:47 +0000 (19:34 +0300)
minetest.conf.example
src/defaultsettings.cpp

index 30adc5e601cb472ce85232c65d44001bafcb3445..01b3f3e7cd5fb62c48dd5f67b00a37451c64794e 100644 (file)
 #active_object_send_range_blocks = 3
 #active_block_range = 2
 #max_simultaneous_block_sends_per_client = 2
-#max_simultaneous_block_sends_server_total = 8
+#max_simultaneous_block_sends_server_total = 2
 #max_block_send_distance = 7
 #max_block_generate_distance = 5
 #time_send_interval = 20
index 7f0d46a10b6c8cc5d1aa5ae29d1c3a314e92da79..586eaa282a2143b731ed874f8661ed510b2d4e79 100644 (file)
@@ -100,7 +100,7 @@ void set_default_settings(Settings *settings)
        //settings->setDefault("max_simultaneous_block_sends_per_client", "1");
        // This causes frametime jitter on client side, or does it?
        settings->setDefault("max_simultaneous_block_sends_per_client", "2");
-       settings->setDefault("max_simultaneous_block_sends_server_total", "8");
+       settings->setDefault("max_simultaneous_block_sends_server_total", "2");
        settings->setDefault("max_block_send_distance", "7");
        settings->setDefault("max_block_generate_distance", "5");
        settings->setDefault("time_send_interval", "20");