mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-26 16:25:31 +01: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 {
|
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 New Issue
Block a user