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:
OpenShift Merge Robot
2022-01-03 18:40:13 +01:00
committed by GitHub

View File

@ -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