mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
Merge pull request #12732 from strideynet/fix-default-cpu-period-comment
fix misleading comment regarding default value of cpu period
This commit is contained in:
@ -665,8 +665,8 @@ func CreateCidFile(cidfile string, id string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// DefaultCPUPeriod is the default CPU period is 100us, which is the same default
|
||||
// as Kubernetes.
|
||||
// DefaultCPUPeriod is the default CPU period (100ms) in microseconds, which is
|
||||
// the same default as Kubernetes.
|
||||
const DefaultCPUPeriod uint64 = 100000
|
||||
|
||||
// CoresToPeriodAndQuota converts a fraction of cores to the equivalent
|
||||
|
Reference in New Issue
Block a user