diff --git a/utils/Query.ts b/utils/Query.ts index 8b913c7..039b2bf 100644 --- a/utils/Query.ts +++ b/utils/Query.ts @@ -252,7 +252,7 @@ export const get = { user: new DataLoader( async (urls: string[]) => (await Promise.all(urls.map(async (url: string) => await getImage(url)))) - , { cacheMap: new TLRU({ maxStoreSize: 5000, maxAgeMs: 43200000 }) }), + , { cacheMap: new TLRU({ maxStoreSize: 500, maxAgeMs: 43200000 }) }), } }