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

Stop existing livetail session before creating new one #78

Merged

Conversation

amoshgabadi
Copy link
Contributor

The issue this is trying to fix is that the logs backend is seeing unusually high number of livetail registration requests from users causing many active sessions at a time.

From what I'm able to repro, if the socket disconnects and the tab is active it will try to call reconnect which will call the retry method on livetail registration without stopping the existing livetail session. This change makes sure stop is called before retry.

@amoshgabadi amoshgabadi requested review from a team as code owners March 10, 2022 17:11
@amoshgabadi amoshgabadi force-pushed the BEAV-1254/many-livetail-sessions branch from 41bc50b to 9c71fd3 Compare March 14, 2022 18:26
@jtmal-signalfx jtmal-signalfx merged commit 6331dd4 into signalfx:main Mar 15, 2022
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.

4 participants