feat: integrate via v0.18.1 context suspension and key throttling
Some checks failed
Deploy c4 / deploy (push) Has been cancelled

Upgrade via to v0.18.1 and configure context suspension timeouts
(5min suspend, 30min TTL) for clean reconnection behavior. Throttle
snake direction key inputs to 100ms to prevent wasted SSE round-trips
when keys are held down.
This commit is contained in:
Ryan Hamamura
2026-02-19 11:14:35 -10:00
parent c5b863efdd
commit 884650c68d
3 changed files with 18 additions and 16 deletions

2
go.mod
View File

@@ -6,7 +6,7 @@ require (
github.com/google/uuid v1.6.0
github.com/joho/godotenv v1.5.1
github.com/pressly/goose/v3 v3.26.0
github.com/ryanhamamura/via v0.15.1
github.com/ryanhamamura/via v0.18.1
golang.org/x/crypto v0.47.0
modernc.org/sqlite v1.44.0
)