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: dnsdist-1.8.0-rc1~256^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12130%2Fhead;p=thirdparty%2Fpdns.git Use > for frehsness test, to be consistent with the lmdb backend --- diff --git a/pdns/backends/gsql/gsqlbackend.cc b/pdns/backends/gsql/gsqlbackend.cc index df24cec22c..838ce4f8cf 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;