From 4a263f9e717923fa1985aadb1c7830acd4c777bb Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 26 Apr 2024 13:19:05 +0100 Subject: [PATCH] remove worker starting from the admin CLI commands (we don't need to handle side-effects) --- cmd/gotosocial/action/admin/account/account.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/gotosocial/action/admin/account/account.go b/cmd/gotosocial/action/admin/account/account.go index 42b324107..0693dd04e 100644 --- a/cmd/gotosocial/action/admin/account/account.go +++ b/cmd/gotosocial/action/admin/account/account.go @@ -39,7 +39,6 @@ func initState(ctx context.Context) (*state.State, error) { var state state.State state.Caches.Init() state.Caches.Start() - state.Workers.Start() // Set the state DB connection dbConn, err := bundb.NewBunDBService(ctx, &state)