bytedance / bytedance/pid_limits

quota 有可能为 "max"

Open Beginner friendly
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
63
Forks
10
PR merge metrics
No merged PRs in 30d

Description

https://github.com/bytedance/pid_limits/blob/d7e5ffa81e3c5a47aa5f206aff4fe6abf0df7b23/core/system/cpu_cgroup_v2.go#L78
这里只考虑了quota为float,但值可以为 string "max"

> https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html

Contributor guide

Open the contributing guide

Research direction

Start in core/system/cpu_cgroup_v2.go at the linked line and compare the quota handling with the cgroup v2 documentation. Confirm that quota may be the string "max" as well as a floating-point value, then verify that both forms are handled correctly and that the existing CPU quota behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.