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