Skip to content

Commit

Permalink
disable the watchdog
Browse files Browse the repository at this point in the history
It's causing the tests to flake.
  • Loading branch information
Stebalien committed Jan 22, 2021
1 parent c27ec4e commit d412ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/modules/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ 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) {
if os.Getenv(EnvWatchdogDisabled) == "1" {
if true || os.Getenv(EnvWatchdogDisabled) == "1" {
log.Infof("memory watchdog is disabled via %s", EnvWatchdogDisabled)
return
}
Expand Down

0 comments on commit d412ccd

Please sign in to comment.