succd: reset failsafe only after vent
This commit is contained in:
parent
93ca80706f
commit
ae9ac4ea0e
|
@ -131,10 +131,12 @@ func (d *daemon) processOnce(_ context.Context) error {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if d.failsafe {
|
if d.failsafe {
|
||||||
|
if mbar >= 1e-2 {
|
||||||
d.failsafe = false
|
d.failsafe = false
|
||||||
klog.Infof("Values are plausible again; quitting failsafe mode")
|
klog.Infof("Values are plausible again; quitting failsafe mode")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if mbar >= 1e-1 {
|
if mbar >= 1e-1 {
|
||||||
if !d.highPressure {
|
if !d.highPressure {
|
||||||
|
|
Loading…
Reference in a new issue