network_info timeout set to 1s

master
moneroexamples 8 years ago
parent 14542502a7
commit 7d47ae69b8

@ -751,7 +751,7 @@ namespace xmreg
// if its not ready by now, forget about it. // if its not ready by now, forget about it.
std::future_status ftr_status = network_info_ftr.wait_for( std::future_status ftr_status = network_info_ftr.wait_for(
std::chrono::milliseconds(300)); std::chrono::milliseconds(1000));
if (ftr_status == std::future_status::ready) if (ftr_status == std::future_status::ready)
{ {

Loading…
Cancel
Save