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

Ignore waitForReady for stale clients #6179

Merged
merged 1 commit into from Apr 29, 2024
Merged

Conversation

dlon
Copy link
Member

@dlon dlon commented Apr 24, 2024

Whenever the app returns from suspend mode, it throws away old ManagementServiceClients, but ManagementServiceClient.waitForReady is still resolved/rejected for the older clients. This results in the daemon being spammed with requests when it finally reconnects.

Fix DES-808.


This change is Reviewable

@dlon dlon requested a review from raksooo April 24, 2024 15:48
Copy link

linear bot commented Apr 24, 2024

@dlon dlon force-pushed the fix-duplicate-daemon-clients branch from d3345c8 to 66c6591 Compare April 24, 2024 15:50
Copy link
Member

@raksooo raksooo left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dlon dlon force-pushed the fix-duplicate-daemon-clients branch from 66c6591 to 1459495 Compare April 29, 2024 11:06
@dlon dlon merged commit f173d8c into main Apr 29, 2024
7 checks passed
@dlon dlon deleted the fix-duplicate-daemon-clients branch April 29, 2024 11:24
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