CheckStatistics: Fix incorrect check interval detection

This commit is contained in:
Johannes Meyer 2024-07-23 16:23:21 +02:00
parent a7e76f6f44
commit ab2485332a

View file

@ -337,7 +337,7 @@ SVG;
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();