revert: 移除 CONN_HEALTH_CHECKS(远程库每条请求多打一次 SQL);加可选慢请求追踪
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
6
deploy/disable-slow-trace.sh
Normal file
6
deploy/disable-slow-trace.sh
Normal 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 "慢请求追踪已关闭"
|
||||
Reference in New Issue
Block a user