constants

package
v1.300063.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultReaderBufferSize is the default buffer size for file readers (256KB)
	// This is much smaller than MaxEventSize to reduce memory usage
	DefaultReaderBufferSize = 256 * 1024

	// DefaultMaxEventSize is the default maximum size for log events (1MB)
	DefaultMaxEventSize = 1024 * 1024

	// PerEventHeaderBytes is the bytes required for metadata for each log event
	PerEventHeaderBytes = 200
)

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