Increase transaction pool default limits (#4792)

* increase limits, improve logging

* format in kB
This commit is contained in:
Nikolay Volf
2020-02-01 00:27:53 -08:00
committed by GitHub
parent adde404e41
commit 63ad759c69
3 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -300,10 +300,10 @@ pub struct NodeKeyParams {
#[derive(Debug, StructOpt, Clone)]
pub struct TransactionPoolParams {
/// Maximum number of transactions in the transaction pool.
#[structopt(long = "pool-limit", value_name = "COUNT", default_value = "512")]
#[structopt(long = "pool-limit", value_name = "COUNT", default_value = "8192")]
pub pool_limit: usize,
/// Maximum number of kilobytes of all transactions stored in the pool.
#[structopt(long = "pool-kbytes", value_name = "COUNT", default_value = "10240")]
#[structopt(long = "pool-kbytes", value_name = "COUNT", default_value = "20480")]
pub pool_kbytes: usize,
}