diff --git a/backend/capellacollab/core/database/__init__.py b/backend/capellacollab/core/database/__init__.py index 0e7bc67fe..66fa4b116 100644 --- a/backend/capellacollab/core/database/__init__.py +++ b/backend/capellacollab/core/database/__init__.py @@ -15,6 +15,7 @@ engine = sa.create_engine( config.database.url, connect_args={"connect_timeout": 5, "options": "-c timezone=utc"}, + pool_size=20, ) SessionLocal = orm.sessionmaker(autocommit=False, autoflush=False, bind=engine)