mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: Add connection pool connection check parameters (#3905)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
This commit is contained in:
parent
f79ae01a92
commit
4c878b011a
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue