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