mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 10:12:11 +00:00
[chore] log delivery worker stop/start at debug level (#3145)
This commit is contained in:
parent
ecc114fc00
commit
87ee64afa0
|
@ -143,8 +143,8 @@ func (w *Worker) run(ctx context.Context) {
|
|||
if w.Client == nil || w.Queue == nil {
|
||||
panic("not yet initialized")
|
||||
}
|
||||
log.Infof(ctx, "%p: starting worker", w)
|
||||
defer log.Infof(ctx, "%p: stopped worker", w)
|
||||
log.Debugf(ctx, "%p: starting worker", w)
|
||||
defer log.Debugf(ctx, "%p: stopped worker", w)
|
||||
util.Must(func() { w.process(ctx) })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue