update default value for period when not set
This commit is contained in:
parent
ad1fb03f00
commit
a9f9793a1f
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ func readCgroup2FileToInt64Tuple(cgroupFile string) (int64, int64) {
|
|||
}
|
||||
|
||||
if len(values) == 1 {
|
||||
return cpuQuota, 1
|
||||
return cpuQuota, 100000
|
||||
}
|
||||
|
||||
cpuPeriod, err := strconv.ParseInt(values[1], 10, 64)
|
||||
|
|
Loading…
Reference in a new issue