Skip to content

Commit

Permalink
Further increase db connection pool (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Aug 1, 2024
1 parent fe6577a commit 0208481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/test_observer/data_access/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
DEFAULT_DB_URL = "postgresql+pg8000://postgres:password@test-observer-db:5432/postgres"
DB_URL = environ.get("DB_URL", DEFAULT_DB_URL)

engine = create_engine(DB_URL, pool_size=20, max_overflow=30)
engine = create_engine(DB_URL, pool_size=45, max_overflow=45)
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)


Expand Down

0 comments on commit 0208481

Please sign in to comment.