From 36b9bd2a5646426b2de3796754bdc631a25e4101 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 27 May 2017 07:03:48 +0800 Subject: [PATCH] network info timeout set to 2s --- src/page.h | 2 +- src/templates/index2.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index b5f87ad..2ee79f8 100644 --- a/src/page.h +++ b/src/page.h @@ -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) { diff --git a/src/templates/index2.html b/src/templates/index2.html index a675b57..7b25aba 100644 --- a/src/templates/index2.html +++ b/src/templates/index2.html @@ -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}} {{/network_info}}