Skip to content

Websocket tidiness#161

Merged
ewdurbin merged 2 commits into
mainfrom
websocket-tidiness
Feb 26, 2026
Merged

Websocket tidiness#161
ewdurbin merged 2 commits into
mainfrom
websocket-tidiness

Conversation

@ewdurbin

Copy link
Copy Markdown
Contributor

Description

General tidiness around all our web socket handling.

  • There's no need to retain a DB session while the web socket is open, this leads to transactions building up that don't go anywhere
  • Add a ping interval to the sockets we control, and send pings on the socket we don't (to k8s) to keep them alive until the browser goes away.

these websockets end up abandoned and ultimately stack up contention on our database tables.
@ewdurbin
ewdurbin merged commit ccd64dd into main Feb 26, 2026
3 checks passed
@ewdurbin
ewdurbin deleted the websocket-tidiness branch February 26, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant