Skip to content

Commit

Permalink
Merge pull request containers#12732 from strideynet/fix-default-cpu-p…
Browse files Browse the repository at this point in the history
…eriod-comment

fix misleading comment regarding default value of cpu period
  • Loading branch information
openshift-merge-robot authored Jan 3, 2022
2 parents e7222e3 + 76a944b commit 8ad8faa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ad8faa

Please sign in to comment.