rippled
Loading...
Searching...
No Matches
src/xrpld/overlay/detail/Tuning.h
1#ifndef XRPL_OVERLAY_TUNING_H_INCLUDED
2#define XRPL_OVERLAY_TUNING_H_INCLUDED
3
4#include <chrono>
5
6namespace ripple {
7
8namespace Tuning {
9
10enum {
14
18
21
24
28
31
34
37
40
43};
44
46std::size_t constexpr readBufferBytes = 16384;
47
48} // namespace Tuning
49
50} // namespace ripple
51
52#endif
std::size_t constexpr readBufferBytes
Size of buffer used to read from the socket.
@ softMaxReplyNodes
The soft cap on the number of ledger entries in a single reply.
@ targetSendQueue
How many messages we consider reasonable sustained on a send queue.
@ checkIdlePeers
How often we check for idle peers (seconds)
@ maxQueryDepth
The maximum number of levels to search.
@ hardMaxReplyNodes
The hard cap on the number of ledger entries in a single reply.
@ convergedLedgerLimit
How many ledgers off a server can be and we will still consider it converged.
@ sendqIntervals
How many timer intervals a sendq has to stay large before we disconnect.
@ sendQueueLogFreq
How often to log send queue size.
@ divergedLedgerLimit
How many ledgers off a server has to be before we consider it diverged.
@ dropSendQueue
How many messages on a send queue before we refuse queries.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6