forked from Mirrorlandia_minetest/minetest
Default max_simultaneous_block_sends_server_total to 2 to make network not cough too much on the fixed block sending code
This commit is contained in:
parent
ed870a7237
commit
b6fcbc5fba
@ -142,7 +142,7 @@
|
|||||||
#active_object_send_range_blocks = 3
|
#active_object_send_range_blocks = 3
|
||||||
#active_block_range = 2
|
#active_block_range = 2
|
||||||
#max_simultaneous_block_sends_per_client = 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_send_distance = 7
|
||||||
#max_block_generate_distance = 5
|
#max_block_generate_distance = 5
|
||||||
#time_send_interval = 20
|
#time_send_interval = 20
|
||||||
|
@ -100,7 +100,7 @@ void set_default_settings(Settings *settings)
|
|||||||
//settings->setDefault("max_simultaneous_block_sends_per_client", "1");
|
//settings->setDefault("max_simultaneous_block_sends_per_client", "1");
|
||||||
// This causes frametime jitter on client side, or does it?
|
// 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_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_send_distance", "7");
|
||||||
settings->setDefault("max_block_generate_distance", "5");
|
settings->setDefault("max_block_generate_distance", "5");
|
||||||
settings->setDefault("time_send_interval", "20");
|
settings->setDefault("time_send_interval", "20");
|
||||||
|
Loading…
Reference in New Issue
Block a user