Skip to content

Commit

Permalink
disable heap profile writing
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 032ebdc
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 @@ -80,7 +80,7 @@ func MemoryWatchdog(lr repo.LockedRepo, lc fx.Lifecycle, constraints system.Memo
// utilization climbs over 90% of the limit. A maximum of 10 heapdumps
// will be captured during life of this process.
watchdog.HeapProfileDir = filepath.Join(lr.Path(), "heapprof")
watchdog.HeapProfileMaxCaptures = 10
watchdog.HeapProfileMaxCaptures = 0 // 10 FIXME
watchdog.HeapProfileThreshold = 0.9
watchdog.Logger = logWatchdog

Expand Down

0 comments on commit 032ebdc

Please sign in to comment.