Skip to content

Commit

Permalink
disable watchdog
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jan 22, 2021
1 parent c27ec4e commit d0413f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions node/modules/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func MemoryConstraints() system.MemoryConstraints {
// MemoryWatchdog starts the memory watchdog, applying the computed resource
// constraints.
func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.MemoryConstraints) {
// FIXME: disabled to see if this is causing problems.
if true {
return
}

if os.Getenv(EnvWatchdogDisabled) == "1" {
log.Infof("memory watchdog is disabled via %s", EnvWatchdogDisabled)
return
Expand Down

0 comments on commit d0413f7

Please sign in to comment.