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: gracefully handle errors for multiple failing requests #2346

Merged

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Apr 19, 2024

Fixes a problem where if multiple simultaneous requests were sent to a Snap that resulted in an error, termination would be attempted multiple times causing unintentional errors to be surfaced to the caller.

This is fixed by making sure stopSnap is only called once even if we have multiple pending requests for the Snap.

@FrederikBolding FrederikBolding requested a review from a team as a code owner April 19, 2024 11:36
@FrederikBolding FrederikBolding force-pushed the fb/gracefully-handle-multiple-requests-erroring branch from 6f8c052 to b628dd1 Compare April 22, 2024 08:39
@FrederikBolding FrederikBolding merged commit b3f38a7 into main Apr 22, 2024
148 checks passed
@FrederikBolding FrederikBolding deleted the fb/gracefully-handle-multiple-requests-erroring branch April 22, 2024 08:45
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