mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefaultCPUPeriod is the default CPU period is 100us, which is the same default
|
// DefaultCPUPeriod is the default CPU period (100ms) in microseconds, which is
|
||||||
// as Kubernetes.
|
// the same default as Kubernetes.
|
||||||
const DefaultCPUPeriod uint64 = 100000
|
const DefaultCPUPeriod uint64 = 100000
|
||||||
|
|
||||||
// CoresToPeriodAndQuota converts a fraction of cores to the equivalent
|
// CoresToPeriodAndQuota converts a fraction of cores to the equivalent
|
||||||
|
Reference in New Issue
Block a user