rlimit

package
v1.0.227 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RlimitStack

func RlimitStack(workers int) int

RlimitStack adjusts the maximum number of worker goroutines, taking into account the system's open-file-descriptor limit (RLIMIT_NOFILE). If the limit cannot be read, the requested worker count is returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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