Skip to content

Commit

Permalink
Allow more simultaneous connections to the database (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo authored Aug 1, 2024
1 parent 3363eb7 commit fe6577a
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=10, max_overflow=20)
engine = create_engine(DB_URL, pool_size=20, max_overflow=30)
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)


Expand Down

0 comments on commit fe6577a

Please sign in to comment.