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