[chore] log delivery worker stop/start at debug level (#3145)

This commit is contained in:
tobi 2024-07-27 13:43:18 +02:00 committed by GitHub
parent ecc114fc00
commit 87ee64afa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) })
}