diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go index 388a88533..d43599b05 100644 --- a/cmd/gotosocial/action/server/server.go +++ b/cmd/gotosocial/action/server/server.go @@ -62,7 +62,7 @@ import ( // Start creates and starts a gotosocial server var Start action.GTSAction = func(ctx context.Context) error { - _, err := maxprocs.Set(nil) + _, err := maxprocs.Set(maxprocs.Logger(nil)) if err != nil { return fmt.Errorf("failed to set CPU limits from cgroup: %s", err) }