Commit 0b008fc1 authored by Jan Včelák's avatar Jan Včelák 🚀

events: schedule bootstrap only for slave zone

parent f4c81422
......@@ -395,8 +395,10 @@ int event_load(zone_t *zone)
/* Try to bootsrap the zone if local error. */
/* Try to bootstrap the zone if local error. */
if (zone_is_slave(zone) && !zone_events_is_scheduled(zone, ZONE_EVENT_XFER)) {
zone_events_schedule(zone, ZONE_EVENT_XFER, ZONE_EVENT_NOW);
return ret;
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