Skip to content
Snippets Groups Projects
Commit b364ea71 authored by Nicolas Schmid's avatar Nicolas Schmid
Browse files

fix: increase pool size

parent b55ad088
No related branches found
No related tags found
2 merge requests!38V1.0,!37fix: increase pool size
Pipeline #2905 failed
......@@ -29,7 +29,7 @@ def postgresql_url():
settings = get_settings()
SQLALCHEMY_DATABASE_URL = postgresql_url()
engine = create_engine(SQLALCHEMY_DATABASE_URL)
engine = create_engine(SQLALCHEMY_DATABASE_URL, pool_size=100, max_overflow=0)
SessionLocal = sessionmaker(autocommit=False,
autoflush=False,
bind=engine)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment