Update utils.mjs

Increase retries to 5
This commit is contained in:
Raz1ner 2024-01-28 14:54:18 -04:00 committed by GitHub
parent 96118ed07a
commit 0280c437a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ export async function batch(task, items, batchSize, onBatchComplete) {
}
}
export async function fetchRetry(url, options, retries = 3) {
export async function fetchRetry(url, options, retries = 5) {
try {
const response = await fetch(url, options);
if (response.status >= 500) {