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:
parent
c4dc993241
commit
8f9d5a3352
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user