mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 13:55:19 +01:00
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:
@@ -1049,13 +1049,11 @@
|
||||
### 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)
|
||||
# type: int
|
||||
# max_simultaneous_block_sends_per_client = 10
|
||||
|
||||
# Maximum number of blocks that are simultaneously sent in total.
|
||||
# type: int
|
||||
# max_simultaneous_block_sends_server_total = 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.
|
||||
# type: float
|
||||
|
||||
Reference in New Issue
Block a user