Skip to content

Commit

Permalink
Merge branch 'tickets/DM-25379'
Browse files Browse the repository at this point in the history
  • Loading branch information
natelust committed Jun 19, 2020
2 parents b421a45 + 40f8f20 commit 029026b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/registry/databases/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, *, connection: sqlalchemy.engine.Connection, origin: int,

@classmethod
def connect(cls, uri: str, *, writeable: bool = True) -> sqlalchemy.engine.Connection:
return sqlalchemy.engine.create_engine(uri, pool_size=1).connect()
return sqlalchemy.engine.create_engine(uri, poolclass=sqlalchemy.pool.NullPool).connect()

@classmethod
def fromConnection(cls, connection: sqlalchemy.engine.Connection, *, origin: int,
Expand Down

0 comments on commit 029026b

Please sign in to comment.