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

Webserver: Database listening task does not reconnect when postgres restarts #2246

Closed
sanderegg opened this issue Mar 29, 2021 · 2 comments · Fixed by #2323
Closed

Webserver: Database listening task does not reconnect when postgres restarts #2246

sanderegg opened this issue Mar 29, 2021 · 2 comments · Fixed by #2323
Assignees
Labels
a:webserver issue related to the webserver service bug buggy, it does not work as expected

Comments

@sanderegg
Copy link
Member

if postgres restarts for any reason, the task listening to notifications of postgres in the webserver does not re-connect with the new instance.
It is locked in

await conn.connection.notifies.get()

see for reference the issue in aiopg which is not resolved

@sanderegg sanderegg added a:webserver issue related to the webserver service bug buggy, it does not work as expected labels Mar 29, 2021
@sanderegg sanderegg self-assigned this Mar 29, 2021
@sanderegg
Copy link
Member Author

when this PR in aiopg goes in aio-libs/aiopg#559
we need to update our codebase and we should be able to cope

@sanderegg
Copy link
Member Author

part of #2212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:webserver issue related to the webserver service bug buggy, it does not work as expected
Projects
None yet
1 participant