aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-09-26 14:51:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-09-26 14:51:54 -0500
commitfdb31856dd8782c1100cadf88d3b0071a4dd7e0d (patch)
treedd316915f51aaae8d711832b0bc40374dd822ba5 /src/common/dns_utils.cpp
parentMerge pull request #8545 (diff)
parentSecond thread pool for IO (diff)
downloadmonero-fdb31856dd8782c1100cadf88d3b0071a4dd7e0d.tar.xz
Merge pull request #8577
6adf03c Second thread pool for IO (SChernykh)
Diffstat (limited to 'src/common/dns_utils.cpp')
-rw-r--r--src/common/dns_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index 6ab6ff4fe..7bb1781d4 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -521,7 +521,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
// send all requests in parallel
std::deque<bool> avail(dns_urls.size(), false), valid(dns_urls.size(), false);
- tools::threadpool& tpool = tools::threadpool::getInstance();
+ tools::threadpool& tpool = tools::threadpool::getInstanceForIO();
tools::threadpool::waiter waiter(tpool);
for (size_t n = 0; n < dns_urls.size(); ++n)
{