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

fix: possible bad state when resuming multiple times with a slow client #1721

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

connor4312
Copy link
Member

Some requests can make the client application run slow. If the user
tries to resume multiple times when paused and "stuck", it's very easy
to get into a bad state.

With this change, coalesce multiple requests of the same type together
so that clicking resume while stalled doesn't tear the state.

I couldn't really get a consistent test case for this since it's
timing based :/

Found while investigating #1719

Some requests can make the client application run slow. If the user
tries to resume multiple times when paused and "stuck", it's very easy
to get into a bad state.

With this change, coalesce multiple requests of the same type together
so that clicking resume while stalled doesn't tear the state.

I couldn't really get a consistent test case for this since it's
timing based :/

Found while investigating #1719
@connor4312 connor4312 merged commit e24e216 into main Jun 9, 2023
10 checks passed
@connor4312 connor4312 deleted the connor4312/fix-slow-paused-state branch June 9, 2023 19:29
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.

None yet

2 participants