diff options
author | Josh Morel <morel.josh@hotmail.com> | 2019-01-06 13:15:06 -0500 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-01-08 11:51:50 +0100 |
commit | 1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3 (patch) | |
tree | e7a6902838d3596a9a26e92c7193747a117e15fe | |
parent | e76d578414d2f2f853bbb1d4bbe180da05aa4eab (diff) | |
download | PeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.tar.gz PeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.tar.zst PeerTube-1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3.zip |
increase waitJobs pendingJobs timeout to 2000
-rw-r--r-- | shared/utils/server/jobs.ts | 2 |
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 | } |