mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 08:05:17 +00:00
16 lines
349 B
Go
16 lines
349 B
Go
//go:build !cgo || nowatchdog
|
|
|
|
package connmgr
|
|
|
|
func registerWatchdog(func()) (unregister func()) {
|
|
return nil
|
|
}
|
|
|
|
// WithEmergencyTrim is an option to enable trimming connections on memory emergency.
|
|
func WithEmergencyTrim(enable bool) Option {
|
|
return func(cfg *config) error {
|
|
log.Warn("platform doesn't support go-watchdog")
|
|
return nil
|
|
}
|
|
}
|