mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Introduce redundancy command
This commit is contained in:
parent
ae2abfd3ae
commit
dab047092b
7 changed files with 166 additions and 247 deletions
|
@ -21,6 +21,7 @@ import { DebugCommand } from './debug-command'
|
|||
import { FollowsCommand } from './follows-command'
|
||||
import { JobsCommand } from './jobs-command'
|
||||
import { PluginsCommand } from './plugins-command'
|
||||
import { RedundancyCommand } from './redundancy-command'
|
||||
|
||||
interface ServerInfo {
|
||||
app: ChildProcess
|
||||
|
@ -87,6 +88,7 @@ interface ServerInfo {
|
|||
followsCommand?: FollowsCommand
|
||||
jobsCommand?: JobsCommand
|
||||
pluginsCommand?: PluginsCommand
|
||||
redundancyCommand?: RedundancyCommand
|
||||
}
|
||||
|
||||
function parallelTests () {
|
||||
|
@ -305,6 +307,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
|
|||
server.followsCommand = new FollowsCommand(server)
|
||||
server.jobsCommand = new JobsCommand(server)
|
||||
server.pluginsCommand = new PluginsCommand(server)
|
||||
server.redundancyCommand = new RedundancyCommand(server)
|
||||
|
||||
res(server)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue