From 4659802f7a7e11660452b23c8fc65c4cc000f5e6 Mon Sep 17 00:00:00 2001 From: jeremygan2021 Date: Tue, 17 Feb 2026 12:11:20 +0800 Subject: [PATCH] readme --- run_monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_monitor.sh b/run_monitor.sh index 7b50bdf..808e850 100755 --- a/run_monitor.sh +++ b/run_monitor.sh @@ -13,7 +13,7 @@ SCRIPT_NAME="fastAPI_tarot.py" # Python 启动脚本 LOG_FILE="${PROJECT_DIR}/log/monitor.log" # 监控日志文件 APP_LOG_FILE="${PROJECT_DIR}/log/app.log" # 应用输出日志文件 PORT=55600 # 服务端口 -CHECK_INTERVAL=5 # 检查间隔(秒) +CHECK_INTERVAL=20 # 检查间隔(秒) MAX_FAILURES=3 # 最大连续失败次数,超过则重启 STARTUP_TIMEOUT=300 # 启动超时时间(秒),等待模型加载 PYTHON_CMD="python" # Python 命令,根据环境可能是 python3