projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76d578
)
increase waitJobs pendingJobs timeout to 2000
author
Josh Morel
<morel.josh@hotmail.com>
Sun, 6 Jan 2019 18:15:06 +0000
(13:15 -0500)
committer
Chocobozzz
<chocobozzz@cpy.re>
Tue, 8 Jan 2019 10:51:50 +0000
(11:51 +0100)
shared/utils/server/jobs.ts
patch
|
blob
|
history
diff --git
a/shared/utils/server/jobs.ts
b/shared/utils/server/jobs.ts
index 7c7e898240e375ff88b50c1dea1d50a6207b1293..f4623f8967dddb0b0673b656246c9c3e8f88e112 100644
(file)
--- 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(
1
000)
+ await wait(
2
000)
await Promise.all(tasks)
}