forked from edgedb/edgedb-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a connection is broken (not actively closed by the user), that connection holder in the pool is not cleaned, leading to issues like creating zombie connections in the pool or pool.aclose() hangs forever. To test retrying_transaction(), connection errors from wait_for_message() is wrapped into a retryable EdgeDB client error type. This is partially fixing the same issue in edgedb#222, but the latter should aim for a more complete solution.
- Loading branch information
Showing
3 changed files
with
95 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters