From 8fdce5578103fd3d6fe20f0eb1294a13008bbdfd Mon Sep 17 00:00:00 2001 From: Mike Schore Date: Wed, 29 Sep 2021 08:06:35 +0800 Subject: [PATCH] dns cache: remove assert at this layer Signed-off-by: Mike Schore --- .../common/dynamic_forward_proxy/dns_cache_manager_impl.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc b/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc index 3fea4fcec98a5..37f7b750759fa 100644 --- a/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc +++ b/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc @@ -32,7 +32,6 @@ DnsCacheSharedPtr DnsCacheManagerImpl::getCache( } DnsCacheSharedPtr DnsCacheManagerImpl::lookUpCacheByName(absl::string_view cache_name) { - ASSERT(context_.mainThreadDispatcher().isThreadSafe()); const auto& existing_cache = caches_.find(cache_name); if (existing_cache != caches_.end()) { return existing_cache->second.cache_;