Skip to content

Commit

Permalink
feat: rety asset downloading 10 times
Browse files Browse the repository at this point in the history
  • Loading branch information
sgulseth committed Jan 26, 2024
1 parent 7228c0f commit 87192c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/export/src/AssetHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class AssetHandler {
this.downloading.push(assetDoc.url)

const doDownload = retryHelper(
5, // try 5 times
10, // try 10 times
() => this.downloadAsset(assetDoc, dstPath),
(err, attempt) => {
debug(
Expand Down

0 comments on commit 87192c5

Please sign in to comment.