mempool_info_timeout set to 5s as default

This commit is contained in:
moneroexamples 2017-05-28 09:13:45 +08:00
parent c9ee47ec3c
commit 4a2c0a5d3e
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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<uint64_t>(*network_info_timeout_opt);

View file

@ -57,7 +57,7 @@ namespace xmreg
"number of last blocks to be shown on index page")
("network-info-timeout", value<string>()->default_value("1000"),
"maximum time, in milliseconds, to wait for network info availability")
("mempool-info-timeout", value<string>()->default_value("1000"),
("mempool-info-timeout", value<string>()->default_value("5000"),
"maximum time, in milliseconds, to wait for mempool data for the front page")
("bc-path,b", value<string>(),
"path to lmdb folder of the blockchain, e.g., ~/.bitmonero/lmdb")