diff options
Diffstat (limited to 'cmd/gotosocial/action/server/server.go')
-rw-r--r-- | cmd/gotosocial/action/server/server.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/server/server.go b/cmd/gotosocial/action/server/server.go index 930f27fdb..5bdd3e33f 100644 --- a/cmd/gotosocial/action/server/server.go +++ b/cmd/gotosocial/action/server/server.go @@ -71,6 +71,8 @@ var Start action.GTSAction = func(ctx context.Context) error { // Initialize caches state.Caches.Init() + state.Caches.Start() + defer state.Caches.Stop() // Open connection to the database dbService, err := bundb.NewBunDBService(ctx, &state) |