fix misleading comment regarding default value of cpu period [NO NEW TESTS NEEDED]

Signed-off-by: Noah Stride <noah@noahstride.co.uk>
This commit is contained in:
Noah Stride
2022-01-03 12:48:17 +00:00
parent 172d4eb400
commit 76a944b147

View File

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