limit

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiagnoseLimits

func DiagnoseLimits() error

DiagnoseLimits verifies if user should increase ulimit or max file descriptors to improve number of expected goroutines in CQ to improve performance

func GetMaxGoRoutines

func GetMaxGoRoutines() uint64

Types

type Rlimit

type Rlimit struct {
	Cur uint64
	Max uint64
}

func GetUlimit

func GetUlimit() (Rlimit, error)

Jump to

Keyboard shortcuts

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