aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 11:55:16 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit87e2635a50ac2decb1c330e55c2ff7b6d07a85de (patch)
treed47c126e74189648916b49d7fea588e3488fdbe6 /shared/extra-utils/server
parent65e6e2602c0d5521f3a6740f7469bb92830ecb53 (diff)
downloadPeerTube-87e2635a50ac2decb1c330e55c2ff7b6d07a85de.tar.gz
PeerTube-87e2635a50ac2decb1c330e55c2ff7b6d07a85de.tar.zst
PeerTube-87e2635a50ac2decb1c330e55c2ff7b6d07a85de.zip
Introduce socket io command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r--shared/extra-utils/server/servers.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index c33b68316..8bd4446be 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -16,6 +16,7 @@ import { AbusesCommand } from '../moderation'
16import { OverviewsCommand } from '../overviews' 16import { OverviewsCommand } from '../overviews'
17import { makeGetRequest } from '../requests/requests' 17import { makeGetRequest } from '../requests/requests'
18import { SearchCommand } from '../search' 18import { SearchCommand } from '../search'
19import { SocketIOCommand } from '../socket'
19import { ConfigCommand } from './config-command' 20import { ConfigCommand } from './config-command'
20import { ContactFormCommand } from './contact-form-command' 21import { ContactFormCommand } from './contact-form-command'
21import { DebugCommand } from './debug-command' 22import { DebugCommand } from './debug-command'
@@ -93,6 +94,7 @@ interface ServerInfo {
93 redundancyCommand?: RedundancyCommand 94 redundancyCommand?: RedundancyCommand
94 statsCommand?: StatsCommand 95 statsCommand?: StatsCommand
95 configCommand?: ConfigCommand 96 configCommand?: ConfigCommand
97 socketIOCommand?: SocketIOCommand
96} 98}
97 99
98function parallelTests () { 100function parallelTests () {
@@ -314,6 +316,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
314 server.redundancyCommand = new RedundancyCommand(server) 316 server.redundancyCommand = new RedundancyCommand(server)
315 server.statsCommand = new StatsCommand(server) 317 server.statsCommand = new StatsCommand(server)
316 server.configCommand = new ConfigCommand(server) 318 server.configCommand = new ConfigCommand(server)
319 server.socketIOCommand = new SocketIOCommand(server)
317 320
318 res(server) 321 res(server)
319 }) 322 })