mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 16:26:42 -04:00
parent
55f0c589ad
commit
e48ed33000
1 changed files with 4 additions and 1 deletions
|
|
@ -749,8 +749,11 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
|
|||
{
|
||||
Endpoint::Ptr endpoint = client->GetEndpoint();
|
||||
|
||||
if (endpoint->GetLogDuration() == 0)
|
||||
if (endpoint->GetLogDuration() == 0) {
|
||||
ObjectLock olock2(endpoint);
|
||||
endpoint->SetSyncing(false);
|
||||
return;
|
||||
}
|
||||
|
||||
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue