Skip to content

Commit dc4f90f

Browse files
authored
Merge pull request #502 from openITCOCKPIT/fix_status_update_on_startup
Remove update of host and service status during the restore from retention.dat
2 parents 1e85466 + 6d34539 commit dc4f90f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/naemon/xrddefault.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,6 @@ int xrddefault_read_state_information(void)
656656
temp_host->acknowledgement_end_time = (time_t)0;
657657
}
658658
}
659-
/* update host status */
660-
update_host_status(temp_host, FALSE);
661659
}
662660

663661
temp_host = NULL;
@@ -715,8 +713,6 @@ int xrddefault_read_state_information(void)
715713
temp_service->acknowledgement_end_time = (time_t)0;
716714
}
717715
}
718-
/* update service status */
719-
update_service_status(temp_service, FALSE);
720716
}
721717

722718
nm_free(host_name);

0 commit comments

Comments
 (0)