auto timeoutUsec = g_multiTasker->nextWaiterDelayUsec(500000);
t_fdm->run(&g_now, static_cast<int>(timeoutUsec / 1000));
// 'run' updates g_now for us
-
- runTCPMaintenance(threadInfo, listenOnTCP, maxTcpClients);
}
catch (const PDNSException& pdnsException) {
- s_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop", pdnsException);
+ g_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop", pdnsException);
}
catch (const std::exception& stdException) {
- s_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop", stdException);
+ g_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop", stdException);
}
catch (...) {
- s_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop");
+ g_rateLimitedLogger.log(g_slog->withName("runtime"), "recLoop");
}
}
}