diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-27 14:02:25 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-27 15:46:49 +0100 |
commit | acfa2e300defbf79994f49b2062ec6bece5ad1a9 (patch) | |
tree | 814e591ceea8c2dd56d1b2abc51b86cebb47344f | |
parent | e5a516e7029db1f07d56924049f4810110b01cfe (diff) | |
download | PeerTube-acfa2e300defbf79994f49b2062ec6bece5ad1a9.tar.gz PeerTube-acfa2e300defbf79994f49b2062ec6bece5ad1a9.tar.zst PeerTube-acfa2e300defbf79994f49b2062ec6bece5ad1a9.zip |
Remove old video views by default
-rw-r--r-- | config/default.yaml | 2 | ||||
-rw-r--r-- | config/production.yaml.example | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml index da04c0e95..4230d262f 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -166,7 +166,7 @@ views: | |||
166 | # -1 means no cleanup | 166 | # -1 means no cleanup |
167 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | 167 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) |
168 | remote: | 168 | remote: |
169 | max_age: -1 | 169 | max_age: '30 days' |
170 | 170 | ||
171 | plugins: | 171 | plugins: |
172 | # The website PeerTube will ask for available PeerTube plugins and themes | 172 | # The website PeerTube will ask for available PeerTube plugins and themes |
diff --git a/config/production.yaml.example b/config/production.yaml.example index ec38f4cf7..3c1dbb381 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -167,7 +167,7 @@ views: | |||
167 | # -1 means no cleanup | 167 | # -1 means no cleanup |
168 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | 168 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) |
169 | remote: | 169 | remote: |
170 | max_age: -1 | 170 | max_age: '30 days' |
171 | 171 | ||
172 | plugins: | 172 | plugins: |
173 | # The website PeerTube will ask for available PeerTube plugins and themes | 173 | # The website PeerTube will ask for available PeerTube plugins and themes |