revert: 移除 CONN_HEALTH_CHECKS(远程库每条请求多打一次 SQL);加可选慢请求追踪

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-09 04:51:28 +08:00
parent c4244ad423
commit 5429652749
5 changed files with 71 additions and 9 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# 关闭慢请求追踪
rm -f /etc/systemd/system/gunicorn-dianjing.service.d/slow-trace.conf
systemctl daemon-reload
systemctl restart gunicorn-dianjing.service
echo "慢请求追踪已关闭"