File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -760,7 +760,7 @@ static void triggerLoadOfLibraries()
760760static bool updateZoneCache (Logr::log_t slog)
761761{
762762 try {
763- UeberBackend B;
763+ UeberBackend B; // NOLINT(readability-identifier-length)
764764 B.updateZoneCache ();
765765 }
766766 catch (PDNSException& e) {
@@ -776,6 +776,7 @@ static bool updateZoneCache(Logr::log_t slog)
776776 return true ;
777777}
778778
779+ // NOLINTNEXTLINE(readability-function-cognitive-complexity)
779780static void mainthread ()
780781{
781782 static std::shared_ptr<Logr::Logger> slog;
@@ -988,7 +989,7 @@ static void mainthread()
988989 g_zoneCache.setRefreshInterval (::arg ().asNum (" zone-cache-refresh-interval" ));
989990 if (g_zoneCache.getRefreshInterval () != 0 ) {
990991 if (!updateZoneCache (slog)) {
991- exit (1 );
992+ exit (1 ); // NOLINT(concurrency-mt-unsafe) we're single threaded at this point
992993 }
993994 }
994995
You can’t perform that action at this time.
0 commit comments