From 42af3b1ae6e9712fe9549c24a7c5553e6674b8bf Mon Sep 17 00:00:00 2001 From: PTah Date: Thu, 11 Jun 2026 09:26:03 +1000 Subject: [PATCH] fix: sync heartbeat interval on every deploy run Co-authored-by: Cursor --- update_ssh_monitor.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_ssh_monitor.sh b/update_ssh_monitor.sh index 9ecfc04..efb7e6e 100755 --- a/update_ssh_monitor.sh +++ b/update_ssh_monitor.sh @@ -1135,8 +1135,9 @@ update_script() { if [ "$script_changed" -eq 1 ]; then sync_use_sac_fallback_mode || true - sync_heartbeat_interval_config || true fi + # Выравнивать интервал heartbeat при каждом deploy, даже если бинарник не менялся. + sync_heartbeat_interval_config || true if [ "$script_changed" -eq 1 ] || [ "${SAC_CLIENT_CHANGED:-0}" -eq 1 ] || [ "${CONFIG_CHANGED:-0}" -eq 1 ]; then restart_ssh_monitor_service