From c3b8f1845cee6cce97eb4cac28a4d17b44bb3faf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Fri, 29 Jan 2021 23:00:25 +0900 Subject: [PATCH] chore: ratelimit decrease --- utils/Query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Query.ts b/utils/Query.ts index 64e99b2..027f35d 100644 --- a/utils/Query.ts +++ b/utils/Query.ts @@ -268,7 +268,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: 500, maxAgeMs: 43200000 }) }), + , { cacheMap: new TLRU({ maxStoreSize: 500, maxAgeMs: 3600000 }) }), } }