perf: increase MAX_OVERFLOW of database connection pool.

This commit is contained in:
liqiang-fit2cloud 2024-12-26 18:34:07 +08:00
parent 0ba733eeee
commit 982be95435

View File

@ -111,7 +111,7 @@ class Config(dict):
"ENGINE": self.get('DB_ENGINE'),
"POOL_OPTIONS": {
"POOL_SIZE": 20,
"MAX_OVERFLOW": 5
"MAX_OVERFLOW": 80
}
}