From 4a2c0a5d3e098291ddd0e87b8dfecfb5f55e0174 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sun, 28 May 2017 09:13:45 +0800 Subject: [PATCH] mempool_info_timeout set to 5s as default --- README.md | 2 +- main.cpp | 2 +- src/CmdLineOptions.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bbc5a73..9f625e8 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ xmrblocks, Onion Monero Blockchain Explorer: index page --network-info-timeout arg (=1000) maximum time, in milliseconds, to wait for network info availability - --mempool-info-timeout arg (=1000) maximum time, in milliseconds, to wait + --mempool-info-timeout arg (=3000) maximum time, in milliseconds, to wait for mempool data for the front page -b [ --bc-path ] arg path to lmdb folder of the blockchain, e.g., ~/.bitmonero/lmdb diff --git a/main.cpp b/main.cpp index aa48895..6119525 100644 --- a/main.cpp +++ b/main.cpp @@ -156,7 +156,7 @@ main(int ac, const char* av[]) } uint64_t network_info_timeout {1000}; - uint64_t mempool_info_timeout {3000}; + uint64_t mempool_info_timeout {5000}; try { network_info_timeout = boost::lexical_cast(*network_info_timeout_opt); diff --git a/src/CmdLineOptions.cpp b/src/CmdLineOptions.cpp index 082e95a..db82f64 100644 --- a/src/CmdLineOptions.cpp +++ b/src/CmdLineOptions.cpp @@ -57,7 +57,7 @@ namespace xmreg "number of last blocks to be shown on index page") ("network-info-timeout", value()->default_value("1000"), "maximum time, in milliseconds, to wait for network info availability") - ("mempool-info-timeout", value()->default_value("1000"), + ("mempool-info-timeout", value()->default_value("5000"), "maximum time, in milliseconds, to wait for mempool data for the front page") ("bc-path,b", value(), "path to lmdb folder of the blockchain, e.g., ~/.bitmonero/lmdb")