system: fix gateway watcher backoff

This commit is contained in:
Franco Fichtner 2025-04-10 11:27:12 +02:00
parent da6fab5bff
commit 0e5a5c3ba2

View File

@ -142,5 +142,5 @@ while (1) {
configdp_run($action, [implode(',', $alarm_gateways)]);
}
sleep($alarm ? $wait : $poll);
sleep(count($alarm_gateways) ? $wait : $poll);
}