Two concurrent loops in one process sharing the lock + hardware gate (IPMI and SMART never run concurrently) but on separate schedules: env every HOST_ENV_INTERVAL (60s, responsive inlet/CPU) and drives every HOST_DRIVE_INTERVAL (300s, gentle SMART). Each loop has its own heartbeat (env_meta/drive_meta) + restart-storm guard.
2.2 KiB
2.2 KiB