Skip to content

Add bounded backpressure to websocket outbound queue #1221

Description

@RUKAYAT-CODER

Background

Outbound messages queue without bound while disconnected. Add a bounded queue with a documented overflow policy.

Files to modify (2-3)

src/lib/websocketManager.ts
src/lib/realtime/connectionSupervisor.ts

Acceptance Criteria

Implemented across the listed files

Unit/integration tests added or updated and passing

No regression; follows project coding standards

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions