Skip to content

Commit

Permalink
fix: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
cd1989 committed Sep 10, 2019
1 parent 5321c0f commit 553ab13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ policy:
# the 'trigger.cron' empty
trigger:
# Cron expression to trigger the cleanup, for example "0 0 * * *", leave it empty will disable the
# trigger and fallback to run cleanup once.
# trigger and fallback to run cleanup once. Note: you may need to quote the cron expression with double quote
cron:
1 change: 0 additions & 1 deletion pkg/trigger/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (s *cronScheduler) Submit(task func()) {
}()

logrus.Info("Start to run cleanup task")
time.Sleep(time.Minute)
task()
})
}
Expand Down

0 comments on commit 553ab13

Please sign in to comment.