mirror of
https://github.com/goenning/google-indexing-script.git
synced 2024-08-16 04:00:27 +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