Increase default ping timeout to 10 seconds

During periods of poor connectivity, the ping timeout of 2 seconds
can easily be exceeded, especially with ENet's RTO backoff active.

This causes an unnecessary disconnection when the connection would
have recovered on its own in a few seconds. Increasing the timeout
to 10 seconds should prevent spurious disconnections in most cases.
This commit is contained in:
Cameron Gutman
2021-07-09 23:45:59 -05:00
parent 769c4c8f99
commit 388e4696ff
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
# ]
# How long to wait in milliseconds for data from moonlight before shutting down the stream
# ping_timeout = 2000
# ping_timeout = 10000
# The file where configuration for the different applications that Sunshine can run during a stream
# file_apps = apps.json