Server: Calculate maximal total block sends dynamically (#6393)
The block sends per client is 1/2 when reaching the maximal player count.
This commit is contained in:
@@ -865,11 +865,10 @@ ipv6_server (IPv6 server) bool false
|
||||
[**Advanced]
|
||||
|
||||
# Maximum number of blocks that are simultaneously sent per client.
|
||||
# The maximum total count is calculated dynamically:
|
||||
# max_total = ceil((#clients + max_users) * per_client / 4)
|
||||
max_simultaneous_block_sends_per_client (Maximum simultaneous block sends per client) int 10
|
||||
|
||||
# Maximum number of blocks that are simultaneously sent in total.
|
||||
max_simultaneous_block_sends_server_total (Maximum simultaneous block sends total) int 40
|
||||
|
||||
# To reduce lag, block transfers are slowed down when a player is building something.
|
||||
# This determines how long they are slowed down after placing or removing a node.
|
||||
full_block_send_enable_min_time_from_building (Delay in sending blocks after building) float 2.0
|
||||
|
Reference in New Issue
Block a user