You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a reusing connection and create new tasks, the tasks inherit the same reusing connection, which may result in a conflict.
I would expect that you can only reuse connections from the same task and new tasks have no reusing connection on their stacks in the beginning. Is it possible to have this behavior?
What I Did
Here is a small example showing the problem. It throws asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress.
Description
When I have a reusing connection and create new tasks, the tasks inherit the same reusing connection, which may result in a conflict.
I would expect that you can only reuse connections from the same task and new tasks have no reusing connection on their stacks in the beginning. Is it possible to have this behavior?
What I Did
Here is a small example showing the problem. It throws
asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress.
The text was updated successfully, but these errors were encountered: