mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
Bugfix: assert in Timer::ProcessTimers.
This commit is contained in:
parent
09309b3899
commit
7526ee3a9e
@ -64,7 +64,7 @@ double Timer::ProcessTimers(void)
|
|||||||
|
|
||||||
double next = now + timer->GetInterval();
|
double next = now + timer->GetInterval();
|
||||||
|
|
||||||
if (timer->m_Next < now || next < timer->m_Next)
|
if (timer->m_Next <= now || next < timer->m_Next)
|
||||||
timer->Reschedule(next);
|
timer->Reschedule(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user