network info timeout set to 2s

master
moneroexamples 8 years ago
parent 7d47ae69b8
commit 36b9bd2a56

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

@ -39,7 +39,7 @@
Network difficulty: {{difficulty}}
| Hash rate: {{hash_rate}}
| Fee per kb: {{fee_per_kb}}
| Alt blocks: {{alt_blocks_no}}
| Alternative blocks no: {{alt_blocks_no}}
</h3>
{{/network_info}}

Loading…
Cancel
Save