aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-26 16:26:27 +0100
committerChocobozzz <me@florianbigard.com>2021-03-03 10:08:08 +0100
commit74d249bc1346c7cfaac7ee49bebbebcf2a01f82a (patch)
treed47bd163ae57ed8f15b445296634cc04f4f67b6f /config
parent095e2258043fcff8a79ab082d11edfbd8f13a8e2 (diff)
downloadPeerTube-74d249bc1346c7cfaac7ee49bebbebcf2a01f82a.tar.gz
PeerTube-74d249bc1346c7cfaac7ee49bebbebcf2a01f82a.tar.zst
PeerTube-74d249bc1346c7cfaac7ee49bebbebcf2a01f82a.zip
Add ability to cleanup remote AP interactions
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml6
-rw-r--r--config/production.yaml.example6
2 files changed, 12 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 2d8afe1c3..a09d20b9d 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -192,6 +192,12 @@ federation:
192 videos: 192 videos:
193 federate_unlisted: false 193 federate_unlisted: false
194 194
195 # Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments)
196 # It removes objects that do not exist anymore, and potentially fix their URLs
197 # This setting is opt-in because due to an old bug in PeerTube, remote rates sent by instance before PeerTube 3.0 will be deleted
198 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes
199 cleanup_remote_interactions: false
200
195cache: 201cache:
196 previews: 202 previews:
197 size: 500 # Max number of previews you want to cache 203 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 2794c543c..31c0e6b96 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -190,6 +190,12 @@ federation:
190 videos: 190 videos:
191 federate_unlisted: false 191 federate_unlisted: false
192 192
193 # Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments)
194 # It removes objects that do not exist anymore, and potentially fix their URLs
195 # This setting is opt-in because due to an old bug in PeerTube, remote rates sent by instance before PeerTube 3.0 will be deleted
196 # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes
197 cleanup_remote_interactions: false
198
193 199
194############################################################################### 200###############################################################################
195# 201#