Commit Diff


commit - f3fbde3134fce52d2d09c4ef1de3ba0372bbb171
commit + ad1baee93728d7b078cd1c7488736516ff5fda35
blob - a0e3be030baba44deee78d697ac6284b4339ba44
blob + 004def67f16f6d94f55008e7460ff0d0775f43a4
--- include/globals.h
+++ include/globals.h
@@ -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.