]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Typo's in comments spotted by reviewers
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 22 Feb 2022 07:57:17 +0000 (08:57 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 22 Feb 2022 07:57:17 +0000 (08:57 +0100)
pdns/recursordist/rec-taskqueue.cc

index 65b3c8494cd0b15d08354e857dcb85f00af54f16..b9886983adf10759cc16ce4c59f0e0d881f6edee 100644 (file)
@@ -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<time_t>();
     auto it = ind.begin();