From: Otto Moerbeek Date: Tue, 22 Feb 2022 07:57:17 +0000 (+0100) Subject: Typo's in comments spotted by reviewers X-Git-Tag: rec-4.7.0-alpha1~10^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=505841a20e96231b42284b01b434754f930c2536;p=thirdparty%2Fpdns.git Typo's in comments spotted by reviewers --- diff --git a/pdns/recursordist/rec-taskqueue.cc b/pdns/recursordist/rec-taskqueue.cc index 65b3c8494c..b9886983ad 100644 --- a/pdns/recursordist/rec-taskqueue.cc +++ b/pdns/recursordist/rec-taskqueue.cc @@ -26,7 +26,7 @@ #include "stat_t.hh" #include "syncres.hh" -// For rate lmiting, we maintain a set of tasks recently submitted. +// For rate limiting purposes we maintain a set of tasks recently submitted. class TimedSet { public: @@ -37,7 +37,7 @@ public: uint64_t purge(time_t now) { - // This purge is relatively sleep, as we're walking an ordered index + // This purge is relatively cheap, as we're walking an ordered index uint64_t erased = 0; auto& ind = d_set.template get(); auto it = ind.begin();