mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
mempool_info_timeout set to 5s as default
This commit is contained in:
parent
c9ee47ec3c
commit
4a2c0a5d3e
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
2
main.cpp
2
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<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…
Reference in a new issue