aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/jobs.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-25 15:13:41 +0200
committerChocobozzz <me@florianbigard.com>2021-08-26 10:01:42 +0200
commit851675c5591dcab1070183f0ed1b1a788de07d2c (patch)
tree9553ea2d73b5077f3b51345eeca8acbac48b4bd7 /shared/extra-utils/server/jobs.ts
parent0d22b7ad5ffea0a830a266815f7bdfd8893917c9 (diff)
downloadPeerTube-851675c5591dcab1070183f0ed1b1a788de07d2c.tar.gz
PeerTube-851675c5591dcab1070183f0ed1b1a788de07d2c.tar.zst
PeerTube-851675c5591dcab1070183f0ed1b1a788de07d2c.zip
Rename jobs list command
Diffstat (limited to 'shared/extra-utils/server/jobs.ts')
-rw-r--r--shared/extra-utils/server/jobs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/server/jobs.ts b/shared/extra-utils/server/jobs.ts
index 27104bfdf..79b8c3183 100644
--- a/shared/extra-utils/server/jobs.ts
+++ b/shared/extra-utils/server/jobs.ts
@@ -25,7 +25,7 @@ async function waitJobs (serversArg: PeerTubeServer[] | PeerTubeServer, skipDela
25 // Check if each server has pending request 25 // Check if each server has pending request
26 for (const server of servers) { 26 for (const server of servers) {
27 for (const state of states) { 27 for (const state of states) {
28 const p = server.jobs.getJobsList({ 28 const p = server.jobs.list({
29 state, 29 state,
30 start: 0, 30 start: 0,
31 count: 10, 31 count: 10,