Add MTU config option (#908)

* Add config option

* Add reloading
This commit is contained in:
David Markowitz
2022-12-21 08:51:27 -08:00
committed by GitHub
parent 38eb441ca1
commit 51dd56f0a0
4 changed files with 18 additions and 2 deletions

View File

@@ -26,5 +26,13 @@ dump_folder=
# Either the folder with /res or with /client and /versions
client_location=
# The maximum outgoing bandwidth in bits
# The maximum outgoing bandwidth in bits. If your clients are having
# issues with enemies taking a while to catch up to them, increse this value.
maximum_outgoing_bandwidth=80000
# The Maximum Translation Unit (MTU) size for packets. If players are
# getting stuck at 55% on the loading screen, lower this number to
# reduce the chances of packet loss. This value only has an effect
# from 512 <= maximum_mtu_size <= 1492 so make sure to keep this
# value within that range.
maximum_mtu_size=1228