diff options
author | 2024-06-03 21:55:50 +0000 | |
---|---|---|
committer | 2024-06-03 22:55:50 +0100 | |
commit | f17dd62ff5c82d68f76354c2074c1bddcd04ac79 (patch) | |
tree | c08f94c301452f80af15f9ce2085871e3ff83d0a /internal/workers/worker_msg.go | |
parent | bump go-structr to v0.8.5 to improve memory usage (#2955) (diff) | |
download | gotosocial-f17dd62ff5c82d68f76354c2074c1bddcd04ac79.tar.xz |
[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
Diffstat (limited to 'internal/workers/worker_msg.go')
-rw-r--r-- | internal/workers/worker_msg.go | 2 |
1 files changed, 0 insertions, 2 deletions
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) }) } |