mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Increase connection pool size
This commit is contained in:
parent
8e89d00e32
commit
4b9c4667f6
@ -57,7 +57,7 @@ def get_sqlalchemy_engine() -> Engine:
|
||||
global _SYNC_ENGINE
|
||||
if _SYNC_ENGINE is None:
|
||||
connection_string = build_connection_string(db_api=SYNC_DB_API)
|
||||
_SYNC_ENGINE = create_engine(connection_string)
|
||||
_SYNC_ENGINE = create_engine(connection_string, pool_size=50, max_overflow=100)
|
||||
return _SYNC_ENGINE
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user