Skip to content
Snippets Groups Projects
Commit a9e70b86 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

reload: clear as much tasks in the worker pool as possible

parent 24823a49
No related branches found
No related tags found
No related merge requests found
......@@ -598,6 +598,7 @@ int server_update_zones(const struct conf_t *conf, void *data)
}
/* Finish operations already in the queue. */
worker_pool_clear(server->workers);
worker_pool_wait(server->workers);
/* Reload zone database and free old zones. */
......
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