Skip to content

improved websocket connection management#3797

Open
T4rk1n wants to merge 3 commits into
devfrom
fix/ws-connection-management
Open

improved websocket connection management#3797
T4rk1n wants to merge 3 commits into
devfrom
fix/ws-connection-management

Conversation

@T4rk1n
Copy link
Copy Markdown
Contributor

@T4rk1n T4rk1n commented May 26, 2026

Fix #3788 and fix #3790

  • Add ActiveCallbackRegistry to store the running callbacks, in case of disconnect/reconnect the callbacks can adopt back the proper update queue. Not for persistent no inputs/outputs callbacks, they should use the improved ws.is_shutdown check to finish the callback that will be restarted on reconnect.
  • Disable/reset inactivity timeout when the app tab is active.
  • Tabbing back restarts the ws connection instead of waiting for a callback. Callback marked as persistent that were running while the app disconnected will be restarted automatically.
  • Improved error handling when the websocket disconnect/reconnect.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant