Cannot recall why this is using NullPool, hence removing to fix #65.
This commit is contained in:
parent
f8241e809b
commit
fd3d9f326c
@ -29,9 +29,6 @@ class Database(object):
|
||||
if engine_kwargs is None:
|
||||
engine_kwargs = {}
|
||||
|
||||
if url.startswith('postgres'):
|
||||
engine_kwargs.setdefault('poolclass', NullPool)
|
||||
|
||||
self.lock = threading.RLock()
|
||||
self.local = threading.local()
|
||||
if '?' in url:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user