increase waitJobs pendingJobs timeout to 2000
authorJosh Morel <morel.josh@hotmail.com>
Sun, 6 Jan 2019 18:15:06 +0000 (13:15 -0500)
committerChocobozzz <chocobozzz@cpy.re>
Tue, 8 Jan 2019 10:51:50 +0000 (11:51 +0100)
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)
     }