diff --git a/vector_search/dns.hh b/vector_search/dns.hh index 0fdecad062..f0edf9c1a1 100644 --- a/vector_search/dns.hh +++ b/vector_search/dns.hh @@ -41,6 +41,7 @@ public: void hosts(std::vector hosts) { _addresses.clear(); _hosts = std::move(hosts); + _last_refresh = {}; // reset throttle so the refresh happens immediately trigger_refresh(); }