Revert "checks.cc: current_notification_number set to 0 on recovery"
This reverts commit f911692441f3960b299e86a280b8f9112382f68e.
Matthieu Kermagoret
6 years ago
2846 | 2846 | /* set the current state */ |
2847 | 2847 | hst->current_state = HOST_UP; |
2848 | 2848 | |
2849 | /* When the host goes back to the HOST_UP state, we must reinitialize the | |
2850 | * current_notification_number so that the first notification delay will | |
2851 | * be waited before sending next notification when the host will fall | |
2852 | * down. | |
2853 | */ | |
2854 | hst->current_notification_number = 0; | |
2855 | ||
2856 | 2849 | /* set the state type */ |
2857 | 2850 | /* set state type to HARD for passive checks and active checks that were previously in a HARD STATE */ |
2858 | 2851 | if (hst->state_type == HARD_STATE |