We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7377228 commit 4a6f00bCopy full SHA for 4a6f00b
cmd/auto-pause/auto-pause.go
@@ -40,17 +40,18 @@ var mu sync.Mutex
40
var runtimePaused = false
41
var version = "0.0.1"
42
43
-// TODO: make this configurable to support containerd/cri-o
+// TODO: #10597 make this configurable to support containerd/cri-o
44
var runtime = "docker"
45
46
func main() {
47
- // TODO: make this configurable
+ // TODO: #10595 make this configurable
48
const interval = time.Minute * 1
49
// channel for incoming messages
50
go func() {
51
for {
52
// On each iteration new timer is created
53
select {
54
+ // TODO: #10596 make it memory-leak proof
55
case <-time.After(interval):
56
runPause()
57
case <-unpauseRequests:
0 commit comments