From 0eb1cf701e03d235f45e071ec492b4cffde8c38b Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 25 Jul 2025 17:19:39 +0800 Subject: [PATCH] refactor: enable pre_ping explicitly. --- apps/maxkb/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/maxkb/conf.py b/apps/maxkb/conf.py index 967bad7cc..da060f955 100644 --- a/apps/maxkb/conf.py +++ b/apps/maxkb/conf.py @@ -64,6 +64,7 @@ class Config(dict): "POOL_SIZE": 20, "MAX_OVERFLOW": int(self.get('DB_MAX_OVERFLOW')), "RECYCLE": 1800, + "PRE_PING": True, "TIMEOUT": 30 } }