From: Otto Moerbeek Date: Tue, 25 Oct 2022 13:33:45 +0000 (+0200) Subject: Use > for frehsness test, to be consistent with the lmdb backend X-Git-Tag: auth-4.7.2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12143%2Fhead;p=thirdparty%2Fpdns.git Use > for frehsness test, to be consistent with the lmdb backend (cherry picked from commit 76b236133aa2f3cb7d3fe43d755e73927a45b61a) --- diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index c9518ce7e9..cd21b9047e 100644 --- a/pdns/backends/gsql/gsqlbackend.cc +++ b/pdns/backends/gsql/gsqlbackend.cc @@ -461,7 +461,7 @@ void GSQLBackend::getUnfreshSlaveInfos(vector *unfreshDomains) continue; } - if (static_cast(last_check + sd.refresh) >= time(nullptr)) { // still fresh + if (static_cast(last_check + sd.refresh) > time(nullptr)) { // still fresh continue; } di.serial = sd.serial;