summaryrefslogtreecommitdiff
path: root/internal/transport/delivery/delivery.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-06-03 21:55:50 +0000
committerLibravatar GitHub <noreply@github.com>2024-06-03 22:55:50 +0100
commitf17dd62ff5c82d68f76354c2074c1bddcd04ac79 (patch)
treec08f94c301452f80af15f9ce2085871e3ff83d0a /internal/transport/delivery/delivery.go
parentbump go-structr to v0.8.5 to improve memory usage (#2955) (diff)
downloadgotosocial-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/transport/delivery/delivery.go')
-rw-r--r--internal/transport/delivery/delivery.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/transport/delivery/delivery.go b/internal/transport/delivery/delivery.go
index 5ae3e6cac..1e9126b2e 100644
--- a/internal/transport/delivery/delivery.go
+++ b/internal/transport/delivery/delivery.go
@@ -26,7 +26,6 @@ import (
"codeberg.org/gruf/go-structr"
"github.com/superseriousbusiness/gotosocial/internal/gtscontext"
"github.com/superseriousbusiness/gotosocial/internal/httpclient"
- "github.com/superseriousbusiness/gotosocial/internal/log"
"github.com/superseriousbusiness/gotosocial/internal/queue"
"github.com/superseriousbusiness/gotosocial/internal/util"
)
@@ -181,8 +180,6 @@ func (w *Worker) run(ctx context.Context) {
if w.Client == 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) })
}