From 4a6f00ba4bd56a2cfce84e92db13dfb68e7720af Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 24 Feb 2021 13:15:36 -0800 Subject: [PATCH] add todo with issue numbers --- cmd/auto-pause/auto-pause.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/auto-pause/auto-pause.go b/cmd/auto-pause/auto-pause.go index 0412c19749a9..ad1de5058ad1 100644 --- a/cmd/auto-pause/auto-pause.go +++ b/cmd/auto-pause/auto-pause.go @@ -40,17 +40,18 @@ var mu sync.Mutex var runtimePaused = false var version = "0.0.1" -// TODO: make this configurable to support containerd/cri-o +// TODO: #10597 make this configurable to support containerd/cri-o var runtime = "docker" func main() { - // TODO: make this configurable + // TODO: #10595 make this configurable const interval = time.Minute * 1 // channel for incoming messages go func() { for { // On each iteration new timer is created select { + // TODO: #10596 make it memory-leak proof case <-time.After(interval): runPause() case <-unpauseRequests: