Automaxprocs Versions Save

Automatically set GOMAXPROCS to match Linux container CPU quota.

v1.5.3

9 months ago
  • Fix mountinfo parsing when super options have fields with spaces.
  • Fix division by zero while parsing cgroups.

v1.5.2

1 year ago
  • Support child control cgroups
  • Fix file descriptor leak
  • Update dependencies

v1.5.1

2 years ago
  • Fix cgroups v2 mountpoint detection.

v1.5.0

2 years ago
  • Add support for cgroups v2.

Thanks to @emadolsky for their contribution to this release.

v1.4.0

3 years ago
  • Support colons in cgroup names.
  • Remove linters from runtime dependencies.

v1.3.0

4 years ago
  • Migrate to Go modules.

v1.2.0

4 years ago
  • Fixed quota clamping to always round down rather than up; Rather than guaranteeing constant throttling at saturation, instead assume that the fractional CPU was added as a hedge for factors outside of Go's scheduler.

v1.1.0

6 years ago
  • Log the new value of GOMAXPROCS rather than the current value.
  • Make logs more explicit about whether GOMAXPROCS was modified or not.
  • Allow customization of the minimum GOMAXPROCS, and modify default from 2 to 1.

v1.0.0

6 years ago

Initial release.