mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
Clean up log messages
Moved development purpose log messages to DEBUG level.
This commit is contained in:
@@ -40,7 +40,7 @@ func newSyncer(l *log.Logger, requestsCh <-chan *syncRequest, interval time.Dura
|
||||
}
|
||||
|
||||
func (s *syncer) terminate() {
|
||||
s.logger.Info("Syncer shutting down...")
|
||||
s.logger.Debug("Syncer shutting down...")
|
||||
// Signal the syncer goroutine to stop.
|
||||
s.done <- struct{}{}
|
||||
}
|
||||
@@ -59,7 +59,7 @@ func (s *syncer) start(wg *sync.WaitGroup) {
|
||||
s.logger.Error(req.errMsg)
|
||||
}
|
||||
}
|
||||
s.logger.Info("Syncer done")
|
||||
s.logger.Debug("Syncer done")
|
||||
return
|
||||
case req := <-s.requestsCh:
|
||||
requests = append(requests, req)
|
||||
|
Reference in New Issue
Block a user