diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-15 09:23:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-15 09:26:37 +0100 |
commit | c9bc850e93295661e743255b8623ac8e2a95c391 (patch) | |
tree | 0dd03d2addfa03e0c92947b787af46414253a1c2 /config | |
parent | d1742ede65d2a42ffc02ab230287d83d432416f1 (diff) | |
download | PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.gz PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.tar.zst PeerTube-c9bc850e93295661e743255b8623ac8e2a95c391.zip |
Use -1 for max live duration unlimited
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml index 88821fe3c..9d428f764 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -247,8 +247,8 @@ live: | |||
247 | enabled: false | 247 | enabled: false |
248 | 248 | ||
249 | # Limit lives duration | 249 | # Limit lives duration |
250 | # Set null to disable duration limit | 250 | # -1 == unlimited |
251 | max_duration: null # For example: '5 hours' | 251 | max_duration: -1 # For example: '5 hours' |
252 | 252 | ||
253 | # Limit max number of live videos created on your instance | 253 | # Limit max number of live videos created on your instance |
254 | # -1 == unlimited | 254 | # -1 == unlimited |
diff --git a/config/production.yaml.example b/config/production.yaml.example index b71a494f9..bcf727d82 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -262,7 +262,7 @@ live: | |||
262 | 262 | ||
263 | # Limit lives duration | 263 | # Limit lives duration |
264 | # Set null to disable duration limit | 264 | # Set null to disable duration limit |
265 | max_duration: null # For example: '5 hours' | 265 | max_duration: -1 # For example: '5 hours' |
266 | 266 | ||
267 | # Limit max number of live videos created on your instance | 267 | # Limit max number of live videos created on your instance |
268 | # -1 == unlimited | 268 | # -1 == unlimited |