gameHttpWatchdogMs top-level constant
int
const gameHttpWatchdogMs
Bound for one skin http call that a shown game waits on (state, play,
getRewards): the http layer already answers error timeout at 20 s, so
a call still pending here means the native stack hung and will never
answer. 30 s = the 20 s http timeout plus headroom for timer slop on
low-end devices and a full skin busy-retry cycle, so a healthy-but-slow
call is always answered first. Same value on Android
(GAME_HTTP_WATCHDOG_MS) and iOS (GameBridge.httpWatchdogSeconds); the
stuck game closes instead of freezing.
Implementation
const int gameHttpWatchdogMs = 30000;