mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
14 lines
300 B
Go
14 lines
300 B
Go
// +build !linux
|
|
|
|
package watchdog
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
// CgroupDriven is only available in Linux. This method will error.
|
|
func CgroupDriven(frequency time.Duration, policyCtor PolicyCtor) (err error, stopFn func()) {
|
|
return fmt.Errorf("cgroups-driven watchdog: %w", ErrNotSupported), nil
|
|
}
|