diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 09:34:56 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 9c6327f803aaf4200672f1fc40b2f43786daca47 (patch) | |
tree | 962b975a5c3515804ed5d269019ce0aa3f5da6b3 /shared/extra-utils/server/servers.ts | |
parent | c3d29f694bf8c910f917be655626d0f80871124f (diff) | |
download | PeerTube-9c6327f803aaf4200672f1fc40b2f43786daca47.tar.gz PeerTube-9c6327f803aaf4200672f1fc40b2f43786daca47.tar.zst PeerTube-9c6327f803aaf4200672f1fc40b2f43786daca47.zip |
Introduce jobs command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 7ac80cea0..5511ce0b0 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -19,6 +19,7 @@ import { SearchCommand } from '../search' | |||
19 | import { ContactFormCommand } from './contact-form-command' | 19 | import { ContactFormCommand } from './contact-form-command' |
20 | import { DebugCommand } from './debug-command' | 20 | import { DebugCommand } from './debug-command' |
21 | import { FollowsCommand } from './follows-command' | 21 | import { FollowsCommand } from './follows-command' |
22 | import { JobsCommand } from './jobs-command' | ||
22 | 23 | ||
23 | interface ServerInfo { | 24 | interface ServerInfo { |
24 | app: ChildProcess | 25 | app: ChildProcess |
@@ -83,6 +84,7 @@ interface ServerInfo { | |||
83 | contactFormCommand?: ContactFormCommand | 84 | contactFormCommand?: ContactFormCommand |
84 | debugCommand?: DebugCommand | 85 | debugCommand?: DebugCommand |
85 | followsCommand?: FollowsCommand | 86 | followsCommand?: FollowsCommand |
87 | jobsCommand?: JobsCommand | ||
86 | } | 88 | } |
87 | 89 | ||
88 | function parallelTests () { | 90 | function parallelTests () { |
@@ -299,6 +301,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = [] | |||
299 | server.contactFormCommand = new ContactFormCommand(server) | 301 | server.contactFormCommand = new ContactFormCommand(server) |
300 | server.debugCommand = new DebugCommand(server) | 302 | server.debugCommand = new DebugCommand(server) |
301 | server.followsCommand = new FollowsCommand(server) | 303 | server.followsCommand = new FollowsCommand(server) |
304 | server.jobsCommand = new JobsCommand(server) | ||
302 | 305 | ||
303 | res(server) | 306 | res(server) |
304 | }) | 307 | }) |