Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove old video views by default

Chocobozzzacfa2e300def
diff --git a/config/default.yaml b/config/default.yaml
index da04c0e954..4230d262f4 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -166,7 +166,7 @@ views:
# -1 means no cleanup
# Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
remote:
- max_age: -1
+ max_age: '30 days'
plugins:
# The website PeerTube will ask for available PeerTube plugins and themes
diff --git a/config/production.yaml.example b/config/production.yaml.example
index ec38f4cf78..3c1dbb381e 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -167,7 +167,7 @@ views:
# -1 means no cleanup
# Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
remote:
- max_age: -1
+ max_age: '30 days'
plugins:
# The website PeerTube will ask for available PeerTube plugins and themes