Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHierarchicalMemoryLimit ¶ added in v1.40.1
func GetHierarchicalMemoryLimit() int64
GetHierarchicalMemoryLimit returns hierarchical memory limit
func UpdateGOMAXPROCSToCPUQuota ¶
func UpdateGOMAXPROCSToCPUQuota()
UpdateGOMAXPROCSToCPUQuota updates GOMAXPROCS to cgroup CPU quota if GOMAXPROCS isn't set in environment var.
This function must be called after logger.Init().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.