diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 11:55:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 87e2635a50ac2decb1c330e55c2ff7b6d07a85de (patch) | |
tree | d47c126e74189648916b49d7fea588e3488fdbe6 /shared/extra-utils/server | |
parent | 65e6e2602c0d5521f3a6740f7469bb92830ecb53 (diff) | |
download | PeerTube-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.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 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' | |||
16 | import { OverviewsCommand } from '../overviews' | 16 | import { OverviewsCommand } from '../overviews' |
17 | import { makeGetRequest } from '../requests/requests' | 17 | import { makeGetRequest } from '../requests/requests' |
18 | import { SearchCommand } from '../search' | 18 | import { SearchCommand } from '../search' |
19 | import { SocketIOCommand } from '../socket' | ||
19 | import { ConfigCommand } from './config-command' | 20 | import { ConfigCommand } from './config-command' |
20 | import { ContactFormCommand } from './contact-form-command' | 21 | import { ContactFormCommand } from './contact-form-command' |
21 | import { DebugCommand } from './debug-command' | 22 | import { 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 | ||
98 | function parallelTests () { | 100 | function 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 | }) |