Skip to content

Commit

Permalink
Reset timer after unPuase() is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
hetong07 committed Mar 4, 2021
1 parent 870f46b commit 0081f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/auto-pause/auto-pause.go
Expand Up @@ -64,6 +64,7 @@ func main() {
fmt.Printf("Got request\n")
if runtimePaused {
runUnpause()
idleTimeout.Reset(interval)
}

done <- struct{}{}
Expand Down

0 comments on commit 0081f53

Please sign in to comment.