Run zone loading as offloaded task
The zone loading (dns_master_loadfileinc()
) has a fixed quantum of 100 lines before giving the control back to the "task" and/or "loop". Instead of doing this poor's man scheduling, move the zone loading to the offload threadpool provided by libuv via isc_work_enqueue()
.