]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use > for frehsness test, to be consistent with the lmdb backend 12143/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 25 Oct 2022 13:33:45 +0000 (15:33 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 31 Oct 2022 15:26:46 +0000 (16:26 +0100)
(cherry picked from commit 76b236133aa2f3cb7d3fe43d755e73927a45b61a)

pdns/backends/gsql/gsqlbackend.cc

index c9518ce7e9197662fed73dc74264e70747358864..cd21b9047e8d9d10cfcd093f9c55dce1ea31996c 100644 (file)
@@ -461,7 +461,7 @@ void GSQLBackend::getUnfreshSlaveInfos(vector<DomainInfo> *unfreshDomains)
         continue;
       }
 
-      if (static_cast<time_t>(last_check + sd.refresh) >= time(nullptr)) { // still fresh
+      if (static_cast<time_t>(last_check + sd.refresh) > time(nullptr)) { // still fresh
         continue;
       }
       di.serial = sd.serial;