diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-04 20:07:54 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-04 20:07:54 +0200 |
commit | b0f9f39ed70299a208d1b388c72de8b7f3510cb7 (patch) | |
tree | 4b7d388125265533ac2f6d4bf457d018617e1db6 /config | |
parent | e7dbeae8d915cdf4470ceb51c2724b04148b30b5 (diff) | |
download | PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.tar.gz PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.tar.zst PeerTube-b0f9f39ed70299a208d1b388c72de8b7f3510cb7.zip |
Begin user quota
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 5 | ||||
-rw-r--r-- | config/production.yaml.example | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index a97d3ff78..4c19a5b2d 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -35,6 +35,11 @@ signup: | |||
35 | enabled: false | 35 | enabled: false |
36 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 36 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
37 | 37 | ||
38 | user: | ||
39 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | ||
40 | # -1 == unlimited | ||
41 | video_quota: -1 | ||
42 | |||
38 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | 43 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
39 | # Uses a lot of CPU! | 44 | # Uses a lot of CPU! |
40 | transcoding: | 45 | transcoding: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 90e07f577..987da12cc 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -36,6 +36,11 @@ signup: | |||
36 | enabled: false | 36 | enabled: false |
37 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 37 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
38 | 38 | ||
39 | user: | ||
40 | # Default value of maximum video BYTES the user can upload (does not take into account transcoded files). | ||
41 | # -1 == unlimited | ||
42 | video_quota: -1 | ||
43 | |||
39 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | 44 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
40 | # Uses a lot of CPU! | 45 | # Uses a lot of CPU! |
41 | transcoding: | 46 | transcoding: |