Closed sni closed 7 years ago
Sorry for pushing this, but if you think our suggested changes are okay, I can make the changes if you don't have the time. The reason we're pushing is because this issue is planned in our current sprint.
Your proposed changes are ok, i just didn't had time to look into them. If you have time to do it, please do so. Just double check if the !sigshutdown && !sigrestart
isn't required. Last time i checked it made naemon hang on shutdown/restart without.
the callback NEBCALLBACK_TIMED_EVENT_DATA is never triggerd anymore (maybe it should be deprecated or removed), so use schedule_event instead and trigger a event every second to check if the timeperiod transitions have to be recalculated.