From 982be9543523535af5817d73adef881988531802 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 e041c85ad85..054c5d8320f 100644 --- a/apps/smartdoc/conf.py +++ b/apps/smartdoc/conf.py @@ -111,7 +111,7 @@ def get_db_setting(self) -> dict: "ENGINE": self.get('DB_ENGINE'), "POOL_OPTIONS": { "POOL_SIZE": 20, - "MAX_OVERFLOW": 5 + "MAX_OVERFLOW": 80 } }