chore: ratelimit decrease

This commit is contained in:
원더 2021-01-29 23:00:25 +09:00
parent 1eac15ce86
commit c3b8f1845c

View File

@ -268,7 +268,7 @@ export const get = {
user: new DataLoader( user: new DataLoader(
async (urls: string[]) => async (urls: string[]) =>
(await Promise.all(urls.map(async (url: string) => await getImage(url)))) (await Promise.all(urls.map(async (url: string) => await getImage(url))))
, { cacheMap: new TLRU({ maxStoreSize: 500, maxAgeMs: 43200000 }) }), , { cacheMap: new TLRU({ maxStoreSize: 500, maxAgeMs: 3600000 }) }),
} }
} }