Discover Packages
github.com/circleci/ex
rundef
package
Version:
v1.0.12758-54d8f47
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package rundef provides default runtime configurations for services. Most services should simply call Defaults
Defaults configures recommended go runtime options such as GOMEMLIMIT to appropriate values for the detected
environment
MemLimit sets the GOMEMLIMIT to the recommended default of 90% of the memory available. It attempts to calculate this
from the process cgroup first and will fall back to the total system memory if cgroups is not available.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.