From c1e1de2255372a077c7c35c4cef26ba51da40ee6 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Tue, 9 Sep 2025 20:40:55 +0000 Subject: [PATCH] Increase file cache size to 2000 Should be ~700kb, full up. This should be a generous upper limit for number of scrobbles queued/dead at the same time. --- src/backend/common/Cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/common/Cache.ts b/src/backend/common/Cache.ts index 72245f8b..70dddc81 100644 --- a/src/backend/common/Cache.ts +++ b/src/backend/common/Cache.ts @@ -168,7 +168,7 @@ export const initMemoryCache = (opts: Parameters[0] = {}): Ke export const flatCacheCreate = (opts: FlatCacheOptions) => { return new FlatCache({ ttl: 0, - lruSize: 500, + lruSize: 2000, cacheDir: opts.cacheDir ?? configDir, cacheId: opts.cacheId ?? 'scrobble.cache', persistInterval: 1 * 1000 * 60, -- 2.51.2