Previously, this was only done if log-common-errors was true, due
to argument reversal. In general task *would* be executed, as they
are also run after each query processed by SyncRes (so not after
packet cache hits).
Thanks to @jelu!
// Likley a few handler tasks could be moved to the taskThread
if (info.isTaskThread()) {
// TaskQueue is run always
- runTasks(g_logCommonErrors, 10);
+ runTasks(10, g_logCommonErrors);
static PeriodicTask ztcTask{"ZTC", 60};
static map<DNSName, RecZoneToCache::State> ztcStates;