mempool_info_timeout set to 5s as default

master
moneroexamples 8 years ago
parent c9ee47ec3c
commit 4a2c0a5d3e

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

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

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

Loading…
Cancel
Save