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

Don't start sessions when the current release stage is not enabled #677

Merged
merged 2 commits into from
Aug 16, 2021

Conversation

imjoehaines
Copy link
Contributor

@imjoehaines imjoehaines commented Aug 16, 2021

Goal

Currently we start sessions but will not deliver them when the current release stage is not enabled

This PR changes the session tracker to avoid starting a session instead; this has a small performance benefit as the background delivery thread won't be started for sessions that will never be delivered

@imjoehaines imjoehaines changed the title Don't start a session in a disabled release stage Don't start sessions when the current release stage is not enabled Aug 16, 2021
@imjoehaines imjoehaines marked this pull request as ready for review August 16, 2021 14:36
@imjoehaines imjoehaines requested a review from kattrali August 16, 2021 14:36
Copy link
Contributor

@kattrali kattrali left a comment

Choose a reason for hiding this comment

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

nice one!

@imjoehaines imjoehaines merged commit e03bebd into next Aug 16, 2021
@imjoehaines imjoehaines deleted the dont-start-sessions-in-wrong-release-stage branch August 16, 2021 16:27
@imjoehaines imjoehaines mentioned this pull request Sep 17, 2021
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.

2 participants