diff --git a/internal/pkg/cache/cache.go b/internal/pkg/cache/cache.go index 8d683cb..6c3617e 100644 --- a/internal/pkg/cache/cache.go +++ b/internal/pkg/cache/cache.go @@ -46,8 +46,6 @@ var allUsernameCache *cache.VarCache[map[string]struct{}] var headerImagesCache *cache.MapCache[string, []models.PostThumbnail] -var ctx context.Context - func InitActionsCommonCache() { c := config.GetConfig() archivesCaches = &Arch{ @@ -95,8 +93,6 @@ func InitActionsCommonCache() { newCommentCache = cachemanager.MapCacheBy[string, string](nil, 15*time.Minute) - ctx = context.Background() - InitFeed() }