re-enable watchdog
This commit is contained in:
parent
94089a6a15
commit
0131b077be
@ -71,7 +71,7 @@ func MemoryConstraints() system.MemoryConstraints {
|
|||||||
// MemoryWatchdog starts the memory watchdog, applying the computed resource
|
// MemoryWatchdog starts the memory watchdog, applying the computed resource
|
||||||
// constraints.
|
// constraints.
|
||||||
func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints) {
|
func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints) {
|
||||||
if true || os.Getenv(EnvWatchdogDisabled) == "1" {
|
if os.Getenv(EnvWatchdogDisabled) == "1" {
|
||||||
log.Infof("memory watchdog is disabled via %s", EnvWatchdogDisabled)
|
log.Infof("memory watchdog is disabled via %s", EnvWatchdogDisabled)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user