From 2d894206e1808f126501da11c145177cf4bcfd0b Mon Sep 17 00:00:00 2001 From: Bruno Michel Date: Mon, 9 Dec 2024 09:49:05 +0100 Subject: [PATCH] Increase the appfs cache size --- pkg/appfs/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/appfs/server.go b/pkg/appfs/server.go index a8de5314a46..be4b4ad48a8 100644 --- a/pkg/appfs/server.go +++ b/pkg/appfs/server.go @@ -113,7 +113,7 @@ var initCacheOnce sync.Once // using the swift backend as file server. func NewSwiftFileServer(conn *swift.Connection, appsType consts.AppType) FileServer { initCacheOnce.Do(func() { - c, err := lru.New[string, cacheEntry](128) + c, err := lru.New[string, cacheEntry](1024) if err != nil { panic(err) }