From: Josh Morel Date: Sun, 6 Jan 2019 18:15:06 +0000 (-0500) Subject: increase waitJobs pendingJobs timeout to 2000 X-Git-Tag: v1.2.0-rc.1~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3;p=oweals%2Fpeertube.git increase waitJobs pendingJobs timeout to 2000 --- diff --git a/shared/utils/server/jobs.ts b/shared/utils/server/jobs.ts index 7c7e89824..f4623f896 100644 --- a/shared/utils/server/jobs.ts +++ b/shared/utils/server/jobs.ts @@ -58,7 +58,7 @@ async function waitJobs (serversArg: ServerInfo[] | ServerInfo) { // Retry, in case of new jobs were created if (pendingRequests === false) { - await wait(1000) + await wait(2000) await Promise.all(tasks) }