feat: Add connection pool connection check parameters (#3905)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled

This commit is contained in:
shaohuzhang1 2025-08-21 10:22:45 +08:00 committed by CaptainB
parent f79ae01a92
commit 4c878b011a
2 changed files with 3 additions and 2 deletions

View File

@ -118,7 +118,8 @@ class Config(dict):
"POOL_SIZE": 20,
"MAX_OVERFLOW": int(self.get('DB_MAX_OVERFLOW')),
"RECYCLE": 1800,
"TIMEOUT": 30
"TIMEOUT": 30,
'PRE_PING': True
}
}

View File

@ -64,7 +64,7 @@ pylint = "3.3.6"
pydub = "0.25.1"
cffi = "1.17.1"
pysilk = "0.0.1"
django-db-connection-pool = "1.2.5"
django-db-connection-pool = "1.2.6"
opencv-python-headless = "4.11.0.86"
pymysql = "1.1.1"
accelerate = "1.6.0"