Skip to content

Commit 2d89420

Browse files
committed
Increase the appfs cache size
1 parent 5bd44f9 commit 2d89420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/appfs/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var initCacheOnce sync.Once
113113
// using the swift backend as file server.
114114
func NewSwiftFileServer(conn *swift.Connection, appsType consts.AppType) FileServer {
115115
initCacheOnce.Do(func() {
116-
c, err := lru.New[string, cacheEntry](128)
116+
c, err := lru.New[string, cacheEntry](1024)
117117
if err != nil {
118118
panic(err)
119119
}

0 commit comments

Comments
 (0)