aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/server
diff options
context:
space:
mode:
authorJosh Morel <morel.josh@hotmail.com>2019-01-06 13:15:06 -0500
committerChocobozzz <chocobozzz@cpy.re>2019-01-08 11:51:50 +0100
commit1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3 (patch)
treee7a6902838d3596a9a26e92c7193747a117e15fe /shared/utils/server
parente76d578414d2f2f853bbb1d4bbe180da05aa4eab (diff)
downloadPeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.tar.gz
PeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.tar.zst
PeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.zip
increase waitJobs pendingJobs timeout to 2000
Diffstat (limited to 'shared/utils/server')
-rw-r--r--shared/utils/server/jobs.ts2
1 files changed, 1 insertions, 1 deletions
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) {
58 58
59 // Retry, in case of new jobs were created 59 // Retry, in case of new jobs were created
60 if (pendingRequests === false) { 60 if (pendingRequests === false) {
61 await wait(1000) 61 await wait(2000)
62 62
63 await Promise.all(tasks) 63 await Promise.all(tasks)
64 } 64 }