config

package
v0.15.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBufferSizes = BufferSizes{
	VoteSubscription:          1024,
	ProposalDemux:             1024,
	ProposalCommitNotifier:    1024,
	ProposalSingleStreamInput: 1024,
	ProposalOutputs:           1024,
	PrevoteOutput:             1024,
	PrecommitOutput:           1024,
	ProposalProtoBroadcaster:  1024,
	VoteProtoBroadcaster:      1024,
	MempoolBroadcaster:        1024,
	MempoolListener:           1024,
	PubSubQueueSize:           1024,
	RetryInterval:             1 * time.Second,
	RebroadcastInterval:       5 * time.Second,
}

Functions

This section is empty.

Types

type BufferSizes

type BufferSizes struct {
	VoteSubscription          int
	ProposalDemux             int
	ProposalCommitNotifier    int
	ProposalSingleStreamInput int
	ProposalOutputs           int
	PrevoteOutput             int
	PrecommitOutput           int
	ProposalProtoBroadcaster  int
	VoteProtoBroadcaster      int
	MempoolBroadcaster        int
	MempoolListener           int
	PubSubQueueSize           int
	RetryInterval             time.Duration
	RebroadcastInterval       time.Duration
}

type TopicBufferSizes added in v0.15.2

type TopicBufferSizes struct {
	// Inbound
	Subscription int
	Output       int
	// Outbound
	ProtoBroadcaster int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL