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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?