From 75ee3a9a52963a752c3337c7b5243129d16bd00b Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 7 Aug 2019 11:00:44 +0200 Subject: [PATCH] dnsdist: Clear the CDB refresh guard after a successful refresh --- pdns/dnsdistdist/dnsdist-kvs.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsdistdist/dnsdist-kvs.cc b/pdns/dnsdistdist/dnsdist-kvs.cc index aba95cda5..a1555f441 100644 --- a/pdns/dnsdistdist/dnsdist-kvs.cc +++ b/pdns/dnsdistdist/dnsdist-kvs.cc @@ -140,6 +140,7 @@ void CDBKVStore::refreshDBIfNeeded(time_t now) warnlog("Error while retrieving the last modification time of CDB database '%s': %s", d_fname, stringerror()); } d_nextCheck = now + d_refreshDelay; + d_refreshing.clear(); } catch(...) { d_refreshing.clear(); -- 2.50.1