mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 06:07:46 +00:00
net_node: Use DNS resolver singleton
Each thread can use the same resolver.
This commit is contained in:
parent
b064bad315
commit
7424cfc7b8
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ namespace nodetool
|
|||
|
||||
try
|
||||
{
|
||||
addr_list = tools::DNSResolver().get_ipv4(addr_str, avail, valid);
|
||||
addr_list = tools::DNSResolver::instance().get_ipv4(addr_str, avail, valid);
|
||||
LOG_PRINT_L4("dns_threads[" << result_index << "] DNS resolve done");
|
||||
boost::this_thread::interruption_point();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue