Compare commits

...
3 changed files with 6 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -784,7 +784,7 @@ RCLConsensus::Adaptor::buildLCL(
// Update fee computations based on accepted txs // Update fee computations based on accepted txs
using namespace std::chrono_literals; using namespace std::chrono_literals;
app_.getTxQ().processClosedLedger(app_, *built, roundTime > 5s); app_.getTxQ().processClosedLedger(app_, *built, roundTime > 2500ms);
// And stash the ledger in the ledger master // And stash the ledger in the ledger master
if (ledgerMaster_.storeLedger(built)) if (ledgerMaster_.storeLedger(built))
+4 -4
View File
@@ -59,10 +59,10 @@ struct ConsensusParms
std::size_t const minConsensusPct = 80; std::size_t const minConsensusPct = 80;
//! The duration a ledger may remain idle before closing //! The duration a ledger may remain idle before closing
std::chrono::milliseconds const ledgerIdleInterval = std::chrono::seconds{15}; std::chrono::milliseconds const ledgerIdleInterval = std::chrono::seconds{5};
//! The number of seconds we wait minimum to ensure participation //! The number of seconds we wait minimum to ensure participation
std::chrono::milliseconds const ledgerMinConsensus = std::chrono::milliseconds{1950}; std::chrono::milliseconds const ledgerMinConsensus = std::chrono::milliseconds{1000};
/** The maximum amount of time to spend pausing for laggards. /** The maximum amount of time to spend pausing for laggards.
* *
@@ -73,7 +73,7 @@ struct ConsensusParms
std::chrono::milliseconds const ledgerMaxConsensus = std::chrono::seconds{15}; std::chrono::milliseconds const ledgerMaxConsensus = std::chrono::seconds{15};
//! Minimum number of seconds to wait to ensure others have computed the LCL //! Minimum number of seconds to wait to ensure others have computed the LCL
std::chrono::milliseconds const ledgerMinClose = std::chrono::seconds{2}; std::chrono::milliseconds const ledgerMinClose = std::chrono::seconds{1};
//! How often we check state or change positions //! How often we check state or change positions
std::chrono::milliseconds const ledgerGRANULARITY = std::chrono::seconds{1}; std::chrono::milliseconds const ledgerGRANULARITY = std::chrono::seconds{1};
@@ -99,7 +99,7 @@ struct ConsensusParms
twice the interval between proposals (0.7s) divided by twice the interval between proposals (0.7s) divided by
the interval between mid and late consensus ([85-50]/100). the interval between mid and late consensus ([85-50]/100).
*/ */
std::chrono::milliseconds const avMinConsensusTime = std::chrono::seconds{5}; std::chrono::milliseconds const avMinConsensusTime = std::chrono::seconds{2};
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Avalanche tuning // Avalanche tuning
+1 -1
View File
@@ -209,7 +209,7 @@ public:
// Work queue limits // Work queue limits
int maxTransactions = 250; int maxTransactions = 250;
static constexpr int kMaxJobQueueTx = 1000; static constexpr int kMaxJobQueueTx = 100000;
static constexpr int kMinJobQueueTx = 100; static constexpr int kMinJobQueueTx = 100;
// Amendment majority time // Amendment majority time