extend total network timeout to 15 seconds (leaving 5s for keepalive)

This commit is contained in:
p2r3
2025-08-31 00:42:56 +03:00
parent f3fbde3134
commit ad1baee937

View File

@@ -54,8 +54,9 @@
// are made, but in much smaller portions.
#define DISK_SYNC_INTERVAL 15000000
// Time in microseconds to spend waiting for data transmission before
// timing out. (default = 5s)
#define NETWORK_TIMEOUT_TIME 5000000
// timing out. Default is 15s, which leaves 5s to prevent starving other
// clients from Keep Alive packets.
#define NETWORK_TIMEOUT_TIME 15000000
// If defined, scales the frequency at which player movement updates are
// broadcast based on the amount of players, reducing overhead for higher
// player counts. For very many players, makes movement look jittery.