We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
psycopg2.pool
1 parent 3f084e5 commit a320372Copy full SHA for a320372
transpose/core/main.py
@@ -1,7 +1,7 @@
1
import logging
2
import sys
3
4
-import psycopg2
+from psycopg2 import pool as psycopg2_pool
5
from psycopg2.extras import RealDictCursor
6
7
from transpose.common.exceptions import InstanceConnectionError
@@ -23,7 +23,7 @@ def __init__(
23
24
# connect to the database
25
try:
26
- pool = psycopg2.pool.ThreadedConnectionPool(
+ pool = psycopg2_pool.ThreadedConnectionPool(
27
1,
28
20,
29
host=host,
0 commit comments