Skip to content

Commit 8378f4a

Browse files
author
bloom
committed
server: update size of in-memory caches
1 parent efc7a7c commit 8378f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/services/site/service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func NewSiteService(conf config.Config, db db.DB, queue queue.Queue, mailer mail
130130

131131
assetsCache := memorycache.New(
132132
memorycache.WithTTL[string, []byte](48*time.Hour),
133-
memorycache.WithCapacity[string, []byte](50),
133+
memorycache.WithCapacity[string, []byte](100),
134134
)
135135

136136
pagesBodyHtmlCache := memorycache.New(

0 commit comments

Comments
 (0)