rippled
Loading...
Searching...
No Matches
Enumerations | Variables
xrpl::Tuning Namespace Reference

Enumerations

enum  {
  convergedLedgerLimit = 24 , divergedLedgerLimit = 128 , softMaxReplyNodes = 8192 , hardMaxReplyNodes = 12288 ,
  sendqIntervals = 4 , dropSendQueue = 192 , targetSendQueue = 128 , sendQueueLogFreq = 64 ,
  checkIdlePeers = 4 , maxQueryDepth = 3
}
 

Variables

std::size_t constexpr readBufferBytes = 16384
 Size of buffer used to read from the socket.
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
convergedLedgerLimit 

How many ledgers off a server can be and we will still consider it converged.

divergedLedgerLimit 

How many ledgers off a server has to be before we consider it diverged.

softMaxReplyNodes 

The soft cap on the number of ledger entries in a single reply.

hardMaxReplyNodes 

The hard cap on the number of ledger entries in a single reply.

sendqIntervals 

How many timer intervals a sendq has to stay large before we disconnect.

dropSendQueue 

How many messages on a send queue before we refuse queries.

targetSendQueue 

How many messages we consider reasonable sustained on a send queue.

sendQueueLogFreq 

How often to log send queue size.

checkIdlePeers 

How often we check for idle peers (seconds)

maxQueryDepth 

The maximum number of levels to search.

Definition at line 9 of file src/xrpld/overlay/detail/Tuning.h.

Variable Documentation

◆ readBufferBytes

std::size_t constexpr xrpl::Tuning::readBufferBytes = 16384
constexpr

Size of buffer used to read from the socket.

Definition at line 45 of file src/xrpld/overlay/detail/Tuning.h.