-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Closing connection during a long running query blocks the loop #53
Comments
Try to cancel query before
|
oleg1540
added a commit
to oleg1540/amphp-postgres
that referenced
this issue
Aug 22, 2022
oleg1540
added a commit
to oleg1540/amphp-postgres
that referenced
this issue
Aug 23, 2022
trowski
pushed a commit
that referenced
this issue
Jan 6, 2023
#54 has been merged and tagged under |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If we have a long running query and try to close connection while it is executing, loop will be blocked.
Script:
Result:
Loop was blocking for 8 seconds from 1661195556 to 1661195564 until query end. Is it expected behavoir?
Seems, loop must not be blocked in this case.
The text was updated successfully, but these errors were encountered: