- Notifications
You must be signed in to change notification settings - Fork923
fix: close pg PubSub listener to avoid race#11640
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This stack of pull requests is managed by Graphite.Learn more about stacking. Join@spikecurtis and the rest of your teammates on |
Uh oh!
There was an error while loading.Please reload this page.
0db909c
toacf2f3f
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I would suggest movingp.cancel()
tocloseListener
as well so that it's triggered bylisten
closing, but otherwise looks good. 👍🏻
Uh oh!
There was an error while loading.Please reload this page.
Fixes flake as seen here:https://github.com/coder/coder/runs/20528529187