limit

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiagnoseLimits added in v0.11.2

func DiagnoseLimits() (diags diag.Diagnostics)

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 added in v0.10.6

type Rlimit struct {
	Cur uint64
	Max uint64
}

func GetUlimit added in v0.10.6

func GetUlimit() (Rlimit, error)

Jump to

Keyboard shortcuts

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