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
1 Commits
Author SHA1 Message Date
clement 4ac3981845 fix(npc): gateway scene notify non-blocking
CI / platformio (push) Failing after 14m44s
CI / platformio (pull_request) Failing after 4m3s
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.
2026-06-18 15:17:31 +02:00