summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bookpipeline/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/bookpipeline/main.go b/cmd/bookpipeline/main.go
index 24645a6..daa6ab9 100644
--- a/cmd/bookpipeline/main.go
+++ b/cmd/bookpipeline/main.go
@@ -636,9 +636,9 @@ func stopTimer(t *time.Timer) {
}
func restartTimer(t *time.Timer) {
- if !t.Stop() {
- <-t.C
- }
+ //if !t.Stop() {
+ // <-t.C
+ //}
t.Reset(TimeBeforeShutdown)
}