mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
increase db connection pool limit
This commit is contained in:
+2
-2
@@ -30,8 +30,8 @@ def setup_sqlite():
|
|||||||
DbEngine.engine = create_engine(
|
DbEngine.engine = create_engine(
|
||||||
f"sqlite+pysqlite:///{Db.get_app_db_path()}",
|
f"sqlite+pysqlite:///{Db.get_app_db_path()}",
|
||||||
echo=False,
|
echo=False,
|
||||||
max_overflow=0,
|
max_overflow=20,
|
||||||
pool_size=25,
|
pool_size=10,
|
||||||
)
|
)
|
||||||
|
|
||||||
create_all()
|
create_all()
|
||||||
|
|||||||
Reference in New Issue
Block a user