Skip to content
Snippets Groups Projects
Commit 84727223 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed zone file flush on reload/resign.

parent 4feda922
No related branches found
No related tags found
No related merge requests found
......@@ -666,10 +666,8 @@ static int update_zone(knot_zone_t **dst, conf_zone_t *conf, knot_nameserver_t *
goto fail;
}
/* Don't schedule when immediate syncing is used. */
if (conf->dbsync_timeout > 0) {
zones_schedule_ixfr_sync(new_zone, conf->dbsync_timeout);
}
/* Schedule zonefile flush. */
zones_schedule_ixfr_sync(new_zone, conf->dbsync_timeout);
knot_zone_contents_t *new_contents = new_zone->contents;
if (new_contents) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment