|
|
@ -1804,7 +1804,7 @@ void CConnman::ThreadOpenAddedConnections() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// Retry every 60 seconds if a connection was attempted, otherwise two seconds
|
|
|
|
// Retry every 60 seconds if a connection was attempted, otherwise two seconds
|
|
|
|
if (!interruptNet.sleep_for(std::chrono::seconds(tried ? 60 : 2))); |
|
|
|
if (!interruptNet.sleep_for(std::chrono::seconds(tried ? 60 : 2))) |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|