Commit a9a22344 authored by Libor Peltan's avatar Libor Peltan

events: don't cancel flush if planned by load or AXFRbootstrap

parent 3a4d95f0
......@@ -105,7 +105,7 @@ void replan_from_timers(conf_t *conf, zone_t *zone)
expire = zone->timers.last_refresh + zone->timers.soa_expire;
}
time_t flush = TIME_CANCEL;
time_t flush = TIME_IGNORE;
if (!zone_is_slave(conf, zone) || can_expire(zone)) {
conf_val_t val = conf_zone_get(conf, C_ZONEFILE_SYNC, zone->name);
int64_t sync_timeout = conf_int(&val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment