Skip to content

The agent that grows with you

refactor(cron): R3-S3 remove redundant satellite PID checks

yoniebansd63876e820c9
diff --git a/hermes_cli/cron.py b/hermes_cli/cron.py
index 61528437756..02c7a94a18e 100644
--- a/hermes_cli/cron.py
+++ b/hermes_cli/cron.py
@@ -431,12 +431,12 @@ def cron_status():
lock_pid = get_running_pid() if gateway_alive_via_lock else None
pids = [lock_pid] if lock_pid else pids
# Multiplexer identity does not establish the active profile's ticker health.
- if not pids and not gateway_alive_via_lock:
+ if not gateway_alive_via_lock:
served_by_multiplexer = named_profile_served_by_running_multiplexer()
if pids or gateway_alive_via_lock or served_by_multiplexer:
if served_by_multiplexer:
print(" Scheduler host: default-profile multiplexer")
- _print_ticker_health(pids, restart_command="hermes --profile default gateway restart")
+ _print_ticker_health([], restart_command="hermes --profile default gateway restart")
else:
_print_ticker_health(pids)
else: