Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug-4149] Bug fix for web socket session do not closed correctly and page stuck caused by it #4161

Merged
merged 2 commits into from
Jan 17, 2025

Conversation

MactavishCui
Copy link
Contributor

Purpose of the pull request

#4149

Brief change log

Front end: Bug fix for front end web socket close condition
Backend: Set max Idle time out for each session when opened

Verify this pull request

If we add std out like follows:
a6275c222d7af604b40f1e2f23dd7c6

In current version we can see that
4a92e6fa06f7e7ee0c83a609959d8a8
Sessions is keep creating and are not closed, when there are too many no closed sessions, page will be stuck.

After making the change like this PR, sessions will be closed correctly, there will not be too many no closed sessions
74e95cd1034861bacb0f67e8cac95a6

@MactavishCui MactavishCui marked this pull request as ready for review January 17, 2025 15:02
@MactavishCui MactavishCui changed the title [Bug-4149] Bug fix for web socket session do not closed correctly [Bug-4149] Bug fix for web socket session do not closed correctly and page stuck caused by it Jan 17, 2025
Copy link
Contributor

@aiwenmo aiwenmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aiwenmo aiwenmo added the Bug Something isn't working label Jan 17, 2025
@aiwenmo aiwenmo added this to the 1.3.0 milestone Jan 17, 2025
@aiwenmo aiwenmo merged commit 612e28a into DataLinkDC:dev Jan 17, 2025
24 checks passed
@MactavishCui MactavishCui deleted the dev-wsOpt branch January 22, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants