From e7a8f888e28d64b3d2bd39f3ffcfa0af51c3bac6 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 23 Jul 2024 16:23:21 +0200 Subject: [PATCH] CheckStatistics: Fix incorrect check interval detection --- library/Icingadb/Widget/Detail/CheckStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Widget/Detail/CheckStatistics.php b/library/Icingadb/Widget/Detail/CheckStatistics.php index 8a826d565..ff458de57 100644 --- a/library/Icingadb/Widget/Detail/CheckStatistics.php +++ b/library/Icingadb/Widget/Detail/CheckStatistics.php @@ -337,7 +337,7 @@ protected function getCheckInterval(): int return $this->object->check_interval; } - $delay = ($this->object->state->execution_time + $this->object->state->latency) / 1000 + 5; + $delay = ($this->object->state->execution_time + $this->object->state->latency / 1000) + 5; $interval = $this->object->state->next_check->getTimestamp() - $this->object->state->last_update->getTimestamp();