feat(replace-websocket-with-sse): replace WebSocket with SSE#291
Merged
haiphucnguyen merged 1 commit intomainfrom Jan 20, 2026
Merged
feat(replace-websocket-with-sse): replace WebSocket with SSE#291haiphucnguyen merged 1 commit intomainfrom
haiphucnguyen merged 1 commit intomainfrom
Conversation
Deploying flowinquiry with
|
| Latest commit: |
69a608e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d15b92cd.flowinquiry.pages.dev |
| Branch Preview URL: | https://feature-replace-websocket-wi.flowinquiry.pages.dev |
…Events - Replaced WebSocket implementation with Server-Sent Events (SSE) for real-time notifications - Updated backend to handle SSE connections and permissions - Modified frontend to use new SSE hook instead of WebSocket hook - Updated tests to reflect these changes - Upgraded several dependencies in both frontend and backend - Cleaned up some code and fixed minor bugs This change provides a more efficient and reliable real-time communication mechanism, reducing the likelihood of dropped connections and missed notifications. It also simplifies the codebase by removing the need for WebSocket-specific code.
b1ba899 to
69a608e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/sse/**.useSSEhook instead of the previoususeWebSockethook.@stomp/stompjsdependency from the frontend package.json as it's no longer needed.This change improves the efficiency of real-time updates by using SSE, which keeps a single connection open and reuses it for all updates, instead of opening a new WebSocket connection for each update. This change also simplifies the security configuration by eliminating the need to manage WebSocket connections.