From 0459eedd1aa71b8bee5df8f3b1011fa5306e6d91 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Thu, 26 Dec 2024 18:34:07 +0800 Subject: [PATCH] perf: increase MAX_OVERFLOW of database connection pool. --- apps/smartdoc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/smartdoc/conf.py b/apps/smartdoc/conf.py index e041c85ad..054c5d832 100644 --- a/apps/smartdoc/conf.py +++ b/apps/smartdoc/conf.py @@ -111,7 +111,7 @@ class Config(dict): "ENGINE": self.get('DB_ENGINE'), "POOL_OPTIONS": { "POOL_SIZE": 20, - "MAX_OVERFLOW": 5 + "MAX_OVERFLOW": 80 } }