aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index c0aaad8ef..ee2d3974f 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -288,7 +288,7 @@ namespace nodetool
uint64_t sleep_interval_ms = 100;
while (sleep_count++ * sleep_interval_ms < CRYPTONOTE_DNS_TIMEOUT_MS)
{
- boost::this_thread::sleep(boost::posix_time::milliseconds());
+ boost::this_thread::sleep(boost::posix_time::milliseconds(sleep_interval_ms));
bool all_done = false;
for (auto& done : dns_finished)
{