diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-24 13:07:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-24 13:38:39 +0200 |
commit | e5565833f62b97f62ea75eba5b479963ae78b873 (patch) | |
tree | 835793ce464f9666b0ceae79f3d278cc4e007b32 /server/tests/utils | |
parent | d1a63fc7ac58a1db00d8ca4f43aadba02eb9b084 (diff) | |
download | PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.gz PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.tar.zst PeerTube-e5565833f62b97f62ea75eba5b479963ae78b873.zip |
Improve redundancy: add 'min_lifetime' configuration
Diffstat (limited to 'server/tests/utils')
-rw-r--r-- | server/tests/utils/server/servers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/server/servers.ts b/server/tests/utils/server/servers.ts index 26ab4e1bb..fbfc83ca1 100644 --- a/server/tests/utils/server/servers.ts +++ b/server/tests/utils/server/servers.ts | |||
@@ -144,8 +144,8 @@ function runServer (serverNumber: number, configOverride?: Object) { | |||
144 | }) | 144 | }) |
145 | } | 145 | } |
146 | 146 | ||
147 | async function reRunServer (server: ServerInfo) { | 147 | async function reRunServer (server: ServerInfo, configOverride?: any) { |
148 | const newServer = await runServer(server.serverNumber) | 148 | const newServer = await runServer(server.serverNumber, configOverride) |
149 | server.app = newServer.app | 149 | server.app = newServer.app |
150 | 150 | ||
151 | return server | 151 | return server |