network info timeout set to 2s

This commit is contained in:
moneroexamples 2017-05-27 07:03:48 +08:00
parent 7d47ae69b8
commit 36b9bd2a56
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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}}