lotus/storage/sealer/cgroups.go
2022-06-14 20:03:38 +02:00

13 lines
269 B
Go

//go:build !linux
// +build !linux
package sealer
func cgroupV1Mem() (memoryMax, memoryUsed, swapMax, swapUsed uint64, err error) {
return 0, 0, 0, 0, nil
}
func cgroupV2Mem() (memoryMax, memoryUsed, swapMax, swapUsed uint64, err error) {
return 0, 0, 0, 0, nil
}