fix: 修复 Gunicorn systemd 配置与 MySQL 连接复用以缓解卡顿
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -125,6 +125,7 @@ DATABASES = {
|
||||
'HOST': app_secrets.DATABASE_HOST,
|
||||
'PASSWORD': app_secrets.DATABASE_PASSWORD,
|
||||
'PORT': app_secrets.DATABASE_PORT,
|
||||
'CONN_MAX_AGE': 600,
|
||||
'OPTIONS': {
|
||||
'charset': 'utf8mb4',
|
||||
'init_command': "SET time_zone='+08:00'",
|
||||
|
||||
Reference in New Issue
Block a user