mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
chore: ratelimit decrease
This commit is contained in:
parent
1eac15ce86
commit
c3b8f1845c
@ -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 }) }),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user