diff options
Diffstat (limited to 'cmd/gotosocial/action/admin/media/list.go')
-rw-r--r-- | cmd/gotosocial/action/admin/media/list.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/gotosocial/action/admin/media/list.go b/cmd/gotosocial/action/admin/media/list.go index ed10c967a..9791a9f51 100644 --- a/cmd/gotosocial/action/admin/media/list.go +++ b/cmd/gotosocial/action/admin/media/list.go @@ -127,8 +127,6 @@ func setupList(ctx context.Context) (*list, error) { state.Caches.Init() state.Caches.Start() - state.Workers.Start() - dbService, err := bundb.NewBunDBService(ctx, &state) if err != nil { return nil, fmt.Errorf("error creating dbservice: %w", err) @@ -148,7 +146,6 @@ func setupList(ctx context.Context) (*list, error) { func (l *list) shutdown() error { l.out.Flush() err := l.dbService.Close() - l.state.Workers.Stop() l.state.Caches.Stop() return err } |