mirror of
https://github.com/goenning/google-indexing-script.git
synced 2024-10-26 10:01:39 +03:00
Update utils.mjs
Increase retries to 5
This commit is contained in:
parent
96118ed07a
commit
0280c437a2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user