-
Notifications
You must be signed in to change notification settings - Fork 579
linux: clarify pids cgroup settings #1279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -430,7 +430,7 @@ type LinuxCPU struct { | |
// LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3) | ||
type LinuxPids struct { | ||
// Maximum number of PIDs. Default is "no limit". | ||
Limit int64 `json:"limit"` | ||
Limit *int64 `json:"limit,omitempty"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this changed to pointer, should that mean that it's no longer I wonder how it originally was intended; i.e., if There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, the intention is for it to be the same as most/all of the other cgroup settings we have. As I mentioned in the commit description, we ended up in this situation because of a bunch of unfortunate coincidences and this should correct the situation to be more in line with what most people would expect. |
||
} | ||
|
||
// LinuxNetwork identification and priority configuration | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.