mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Always clear hosts.
This commit is contained in:
parent
97aa6c82ce
commit
d6710b3354
@ -36,6 +36,8 @@ void RemoteHostFilter::setValuesFromConfig(const Poco::Util::AbstractConfigurati
|
||||
config.keys("remote_url_allow_hosts", keys);
|
||||
|
||||
std::lock_guard guard(hosts_mutex);
|
||||
primary_hosts.clear();
|
||||
regexp_hosts.clear();
|
||||
|
||||
for (const auto & key : keys)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user