2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-10 11:31:58 +08:00

When a scheduler enqueues a task, log to DEBUG, not INFO. Fixes #223.

This commit is contained in:
Bojan Zivanovic 2021-01-14 00:44:01 +01:00 committed by Ken Hibino
parent c4dc993241
commit 8f9d5a3352

View File

@ -115,7 +115,7 @@ func (j *enqueueJob) Run() {
} }
return return
} }
j.logger.Infof("scheduler enqueued a task: %+v", res) j.logger.Debugf("scheduler enqueued a task: %+v", res)
event := &base.SchedulerEnqueueEvent{ event := &base.SchedulerEnqueueEvent{
TaskID: res.ID, TaskID: res.ID,
EnqueuedAt: res.EnqueuedAt.In(j.location), EnqueuedAt: res.EnqueuedAt.In(j.location),