mirror of https://github.com/Icinga/icinga2.git
Bugfix for removing expired downtimes.
This commit is contained in:
parent
1d7428b237
commit
709e8c925e
|
@ -342,8 +342,11 @@ void Service::RemoveExpiredDowntimes(void)
|
||||||
downtimes->Remove(id);
|
downtimes->Remove(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
ObjectLock olock(this);
|
||||||
Touch("downtimes");
|
Touch("downtimes");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Service::DowntimesExpireTimerHandler(void)
|
void Service::DowntimesExpireTimerHandler(void)
|
||||||
|
|
Loading…
Reference in New Issue