]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use > for frehsness test, to be consistent with the lmdb backend 12130/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 25 Oct 2022 13:33:45 +0000 (15:33 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 25 Oct 2022 14:59:34 +0000 (16:59 +0200)
pdns/backends/gsql/gsqlbackend.cc

index df24cec22c023680b27e9bfbbb74aaabe055c9e7..838ce4f8cfed439338631abbd3c8ccd9daedbce0 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;