Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
Public launch check: a stranger watches, signs in, queues, drives the real arm safely, and moderation works - proven on the public URL #25
smith/arm:smith/20-public-launch-check-a-stranger-watches-s → main 5 commits fork 5 threads · 5 unresolved
1 file
changed +1
−0
Software/so101/src/lobby.ts +1
| @@ -261,6 +261,7 @@ export class Lobby { | ||
| 261 | 261 | for (const listener of this.arriveListeners) listener((text) => seat.ws.readyState === WebSocket.OPEN && seat.ws.send(text)); |
| 262 | 262 | ws.on("message", (data, binary) => { |
| 263 | 263 | seat.heard = Date.now(); |
| 264 | // Bun's ws server ignores the maxPayload option (probed on Bun 1.3), so the cap is held here; drop this once Bun enforces it. | |
| 264 | 265 | if (binary) return; |
| 265 | 266 | if (frameBytes(data) > MAX_FRAME) return ws.close(TOO_BIG_CLOSE, "message too big"); |
| 266 | 267 | let message: unknown; |
new above
offline