aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-15 09:23:28 +0100
committerChocobozzz <me@florianbigard.com>2020-12-15 09:26:37 +0100
commitc9bc850e93295661e743255b8623ac8e2a95c391 (patch)
tree0dd03d2addfa03e0c92947b787af46414253a1c2 /server/tests/api/check-params/config.ts
parentd1742ede65d2a42ffc02ab230287d83d432416f1 (diff)
downloadPeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.gz
PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.zst
PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.zip
Use -1 for max live duration unlimited
Diffstat (limited to 'server/tests/api/check-params/config.ts')
-rw-r--r--server/tests/api/check-params/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts
index 08576c3ae..fab440fc5 100644
--- a/server/tests/api/check-params/config.ts
+++ b/server/tests/api/check-params/config.ts
@@ -105,7 +105,7 @@ describe('Test config API validators', function () {
105 enabled: true, 105 enabled: true,
106 106
107 allowReplay: false, 107 allowReplay: false,
108 maxDuration: null, 108 maxDuration: 30,
109 maxInstanceLives: -1, 109 maxInstanceLives: -1,
110 maxUserLives: 50, 110 maxUserLives: 50,
111 111