constants

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: AGPL-3.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// MessageIDLength is the length of a message ID in bytes.
	MessageIDLength = 16

	// RoundTripTimeSlop is the slop added to the expected packet
	// round trip timeout threshold. Used for GC and for blocking
	// on reply in Session's BlockingSendUnreliableMessage method.
	RoundTripTimeSlop = 60 * time.Second

	// TimeSkewWarnDelta is the client connection time skew threshold
	// where clients print a warning log entry.
	TimeSkewWarnDelta = 2 * time.Minute

	// LoopService is the name of the Katzenpost loop service.
	LoopService = "loop"

	// GarbageCollectionInterval is the time interval between running our
	// SURB ID Map garbage collection routine.
	GarbageCollectionInterval = 10 * time.Minute

	// MaxEgressQueueSize is the maximum size of the egress queue.
	MaxEgressQueueSize = 40
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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