mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-26 11:26:18 +00:00
downloader: intentar varias veces con cdn.buenosaires.gob.ar
This commit is contained in:
parent
5607d46726
commit
9a623133d3
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ async function downloadDistWithRetries(job, attempts = 0) {
|
||||||
// intentar hasta 15 veces con 15 segundos de por medio
|
// intentar hasta 15 veces con 15 segundos de por medio
|
||||||
if (
|
if (
|
||||||
error instanceof StatusCodeError &&
|
error instanceof StatusCodeError &&
|
||||||
error.code === 403 &&
|
((error.code === 403 && url.host === "minsegar-my.sharepoint.com") ||
|
||||||
url.host === "minsegar-my.sharepoint.com" &&
|
(error.code === 503 && url.host === "cdn.buenosaires.gob.ar")) &&
|
||||||
attempts < 15
|
attempts < 15
|
||||||
) {
|
) {
|
||||||
await wait(15000);
|
await wait(15000);
|
||||||
|
|
Loading…
Reference in a new issue