]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/utils/server/jobs.ts
increase waitJobs pendingJobs timeout to 2000
[github/Chocobozzz/PeerTube.git] / shared / utils / server / jobs.ts
index 7c7e898240e375ff88b50c1dea1d50a6207b1293..f4623f8967dddb0b0673b656246c9c3e8f88e112 100644 (file)
@@ -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)
     }