diff --git a/db.py b/db.py index 40b4f72670..2fd02f47c4 100644 --- a/db.py +++ b/db.py @@ -24,7 +24,7 @@ class Team(enum.Enum): def get_engine(): - return create_engine(DB_ENGINE) + return create_engine(DB_ENGINE,pool_size=config.GRID[0]*config.GRID[1]+5) def get_engine_name(session):