diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 15:38:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-11 15:38:53 +0200 |
commit | 8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98 (patch) | |
tree | e04f1da52f9377cf6ce820425c0de6e57ab57fc6 /config/default.yaml | |
parent | 76062d9f96e06a23a2efc8a727ea9c5394d21466 (diff) | |
download | PeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.tar.gz PeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.tar.zst PeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.zip |
Add ability to limit videos history size
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 617159c2c..d45d84b90 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -111,6 +111,13 @@ tracker: | |||
111 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) | 111 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) |
112 | reject_too_many_announces: false | 112 | reject_too_many_announces: false |
113 | 113 | ||
114 | history: | ||
115 | videos: | ||
116 | # If you want to limit users videos history | ||
117 | # -1 means there is no limitations | ||
118 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | ||
119 | max_age: -1 | ||
120 | |||
114 | cache: | 121 | cache: |
115 | previews: | 122 | previews: |
116 | size: 500 # Max number of previews you want to cache | 123 | size: 500 # Max number of previews you want to cache |