rippled
Enumerations | Variables
ripple::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

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

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 29 of file overlay/impl/Tuning.h.

Variable Documentation

◆ readBufferBytes

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

Size of buffer used to read from the socket.

Definition at line 65 of file overlay/impl/Tuning.h.