mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-16 17:15:51 +00:00
Increase TxQ default minimum and target sizes
This commit is contained in:
committed by
Nik Bougalis
parent
8fa33795a3
commit
e3acb61d57
@@ -96,13 +96,13 @@ public:
|
|||||||
FeeLevel64 minimumEscalationMultiplier = baseLevel * 500;
|
FeeLevel64 minimumEscalationMultiplier = baseLevel * 500;
|
||||||
/// Minimum number of transactions to allow into the ledger
|
/// Minimum number of transactions to allow into the ledger
|
||||||
/// before escalation, regardless of the prior ledger's size.
|
/// before escalation, regardless of the prior ledger's size.
|
||||||
std::uint32_t minimumTxnInLedger = 5;
|
std::uint32_t minimumTxnInLedger = 32;
|
||||||
/// Like @ref minimumTxnInLedger for standalone mode.
|
/// Like @ref minimumTxnInLedger for standalone mode.
|
||||||
/// Primarily so that tests don't need to worry about queuing.
|
/// Primarily so that tests don't need to worry about queuing.
|
||||||
std::uint32_t minimumTxnInLedgerSA = 1000;
|
std::uint32_t minimumTxnInLedgerSA = 1000;
|
||||||
/// Number of transactions per ledger that fee escalation "works
|
/// Number of transactions per ledger that fee escalation "works
|
||||||
/// towards".
|
/// towards".
|
||||||
std::uint32_t targetTxnInLedger = 50;
|
std::uint32_t targetTxnInLedger = 256;
|
||||||
/** Optional maximum allowed value of transactions per ledger before
|
/** Optional maximum allowed value of transactions per ledger before
|
||||||
fee escalation kicks in. By default, the maximum is an emergent
|
fee escalation kicks in. By default, the maximum is an emergent
|
||||||
property of network, validator, and consensus performance. This
|
property of network, validator, and consensus performance. This
|
||||||
|
|||||||
@@ -1469,6 +1469,7 @@ public:
|
|||||||
*this,
|
*this,
|
||||||
makeConfig(
|
makeConfig(
|
||||||
{{"minimum_txn_in_ledger_standalone", "2"},
|
{{"minimum_txn_in_ledger_standalone", "2"},
|
||||||
|
{"minimum_txn_in_ledger", "5"},
|
||||||
{"target_txn_in_ledger", "4"},
|
{"target_txn_in_ledger", "4"},
|
||||||
{"maximum_txn_in_ledger", "5"}}));
|
{"maximum_txn_in_ledger", "5"}}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user