mirror of
https://github.com/goenning/google-indexing-script.git
synced 2024-09-11 08:55:25 +03:00
commit
356017ac7d
@ -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