From d0413f7c06e319e943c04540da317ef6fd961a25 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 21 Jan 2021 16:19:11 -0800 Subject: [PATCH] disable watchdog --- node/modules/core.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node/modules/core.go b/node/modules/core.go index 83a7e8d4297..277f6774ce2 100644 --- a/node/modules/core.go +++ b/node/modules/core.go @@ -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