-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use a single global connection pool (#199)
* use a single global connection pool * actually don't make pools, even if multiple PGInterfaces are __init__ed before anyone calls connect_pg * don't create a second pool while a first pool is connecting by sticking it in a class with a future * fix self.pool reference * fix close * rename to OneTruePool and add an acquire method * never mind, don't autoconnect on acquire * change logging * remove close_pools from tests
- Loading branch information
1 parent
edada47
commit 8059a15
Showing
4 changed files
with
53 additions
and
34 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
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