去掉无用代码

This commit is contained in:
xing 2023-02-25 23:14:19 +08:00
parent e0786f7f8b
commit 0f0c3997c0

View File

@ -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()
}