Skip to content

Commit 2995e29

Browse files
committed
make broker-db connection's pool params configurable
1 parent 4826e74 commit 2995e29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cads_processing_api_service/db_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def get_compute_sessionmaker(
5858
connection_string,
5959
pool_timeout=broker_settings.pool_timeout,
6060
pool_recycle=broker_settings.pool_recycle,
61+
pool_size=broker_settings.pool_size,
62+
max_overflow=broker_settings.max_overflow,
6163
)
6264
return sqlalchemy.orm.sessionmaker(broker_engine)
6365

0 commit comments

Comments
 (0)