add retries to curl when fetching bundles
This commit is contained in:
parent
1c1d8e0626
commit
65de3e7f6c
@ -34,7 +34,7 @@ fetch() {
|
|||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo "fetching $cid to $output"
|
echo "fetching $cid to $output"
|
||||||
curl -k "https://$dweb/ipfs/$cid" -o "$output"
|
curl --retry 3 -k "https://$dweb/ipfs/$cid" -o "$output"
|
||||||
check "$output" "$hash" || die "hash mismatch"
|
check "$output" "$hash" || die "hash mismatch"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user