fix(npc): gateway scene notify non-blocking #31

Merged
electron merged 1 commits from fix/gateway-notify-async into main 2026-06-18 13:18:13 +00:00
Owner

Scene->gateway POST now on a detached task so an offline gateway never lags scene transitions (was sync 2s).

Scene->gateway POST now on a detached task so an offline gateway never lags scene transitions (was sync 2s).
electron added 1 commit 2026-06-18 13:18:05 +00:00
fix(npc): gateway scene notify non-blocking
CI / platformio (pull_request) Failing after 4m3s
CI / platformio (push) Failing after 14m44s
4ac3981845
The scene->gateway POST ran synchronously (2 s timeout) on the scene
transition, so an offline gateway lagged EVERY scene change by 2 s.
Fire it on a detached one-shot task instead, so the game's scene
transitions never wait on the network. Frees the heap scene copy and
self-deletes. Builds clean.
electron merged commit 4ac3981845 into main 2026-06-18 13:18:13 +00:00
Sign in to join this conversation.