Switch default transport to WebSocket

- Dockerfile builds with --features websocket and sets VITE_TRANSPORT=websocket
- Server default feature changed from socketio to websocket
- Binary canvas transfer (1MB) instead of Socket.IO JSON (~3-4MB per connection)
- Significantly reduces memory pressure under concurrent connections
This commit is contained in:
2026-08-18 02:09:09 +02:00
parent f652785acb
commit 31f0fce7a9
2 changed files with 5 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true
[features]
default = ["socketio"]
default = ["websocket"]
socketio = ["dep:socketio", "dep:socketioxide"]
websocket = ["dep:websocket"]