Skip to content

Commit

Permalink
Bump SQLAlchemy pool size to 25
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin5605 committed Jul 19, 2023
1 parent 403f77d commit 71e73d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainframe/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from mainframe.constants import mainframe_settings

engine = create_async_engine(mainframe_settings.db_url)
engine = create_async_engine(mainframe_settings.db_url, pool_size=25)
async_session = async_sessionmaker(bind=engine, expire_on_commit=False)


Expand Down

0 comments on commit 71e73d2

Please sign in to comment.