automaxprocs

自动设置 GOMAXPROCS 以匹配 Linux 容器的 CPU 配额。「Automatically set GOMAXPROCS to match Linux container CPU quota.」

Github星跟踪图

automaxprocs GoDoc Build Status Coverage Status

Automatically set GOMAXPROCS to match Linux container CPU quota.

Installation

go get -u go.uber.org/automaxprocs

Quick Start

import _ "go.uber.org/automaxprocs"

func main() {
  // Your application logic here.
}

Development Status: Stable

All APIs are finalized, and no breaking changes will be made in the 1.x series
of releases. Users of semver-aware dependency management systems should pin
automaxprocs to ^1.

Contributing

We encourage and support an active, healthy community of contributors —
including you! Details are in the contribution guide and
the code of conduct. The automaxprocs maintainers keep
an eye on issues and pull requests, but you can also report any negative
conduct to oss-conduct@uber.com. That email list is a private, safe space;
even the automaxprocs maintainers don't have access, so don't hesitate to hold
us to a high standard.

Released under the MIT License.

主要指标

概览
名称与所有者uber-go/automaxprocs
主编程语言Go
编程语言Go (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2017-05-05 04:21:40
推送于2024-09-23 17:49:02
最后一次提交2024-09-23 10:47:22
发布数10
最新版本名称v1.6.0 (发布于 2024-09-23 10:48:46)
第一版名称v1.0.0 (发布于 )
用户参与
星数4.7k
关注者数34
派生数167
提交数81
已启用问题?
问题数35
打开的问题数14
拉请求数50
打开的拉请求数5
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?