We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2425489 commit 6ba69b1Copy full SHA for 6ba69b1
1 file changed
pyhilo/graphql.py
@@ -621,8 +621,8 @@ async def subscribe_to_location_updated(
621
)
622
623
# Seconds without any SSE event before treating the connection as stalled.
624
- # Hilo's server sends periodic keepalive comments; 120 s is a safe margin.
625
- _SSE_KEEPALIVE_TIMEOUT = 120
+ # Hilo's server sends periodic keepalive comments; 180 s is a safe margin.
+ _SSE_KEEPALIVE_TIMEOUT = 180
626
# Reconnection back-off: starts at _BACKOFF_BASE, doubles each failure, caps at _BACKOFF_MAX.
627
_BACKOFF_BASE = 5
628
_BACKOFF_MAX = 300 # 5 minutes
0 commit comments