From f17dd62ff5c82d68f76354c2074c1bddcd04ac79 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 3 Jun 2024 21:55:50 +0000 Subject: [feature] log worker startup counts (#2958) * log number of each worker kinds started, and log when stopped * remove worker debug logging * whoops, fix the count of media workers --- internal/workers/worker_msg.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/workers/worker_msg.go') diff --git a/internal/workers/worker_msg.go b/internal/workers/worker_msg.go index 0b43f5e07..92180651a 100644 --- a/internal/workers/worker_msg.go +++ b/internal/workers/worker_msg.go @@ -127,8 +127,6 @@ func (w *MsgWorker[T]) run(ctx context.Context) { if w.Process == nil || w.Queue == nil { panic("not yet initialized") } - log.Debugf(ctx, "%p: starting worker", w) - defer log.Debugf(ctx, "%p: stopped worker", w) util.Must(func() { w.process(ctx) }) } -- cgit v1.2.3