Skip to content
Snippets Groups Projects

NOTIFY delayed 1s after DDNS or XFR.

Merged Libor Peltan requested to merge notify_delay into master
1 unresolved thread
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -918,7 +918,7 @@ int event_refresh(conf_t *conf, zone_t *zone)
/* Rechedule events. */
replan_from_timers(conf, zone);
if (updated) {
zone_events_schedule_now(zone, ZONE_EVENT_NOTIFY);
zone_events_schedule_at(zone, ZONE_EVENT_NOTIFY, time(NULL) + 1);
    • @lpeltan I don't think this will work as you expect. Do you want this?

      zone_events_schedule_at(zone, ZONE_EVENT_NOTIFY, 0, ZONE_EVENT_NOTIFY, time(NULL) + 1);
Please register or sign in to reply
conf_val_t val = conf_zone_get(conf, C_ZONEFILE_SYNC, zone->name);
int64_t sync_timeout = conf_int(&val);
Loading