aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorLevi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>2020-06-03 09:42:07 +0200
committerGitHub <noreply@github.com>2020-06-03 09:42:07 +0200
commit3092e9bbb05fe292fd13bc685b89069c3dda55d9 (patch)
tree42b9d04dd7749e835e09cb912677aaad21333a5d /config
parent78646451c9896db3c2239270cd7e100305749f41 (diff)
downloadPeerTube-3092e9bbb05fe292fd13bc685b89069c3dda55d9.tar.gz
PeerTube-3092e9bbb05fe292fd13bc685b89069c3dda55d9.tar.zst
PeerTube-3092e9bbb05fe292fd13bc685b89069c3dda55d9.zip
Make federation of unlisted videos an instance-level server preference (#2802)
* Add preference for federating unlisted videos * Connect unlisted video federation with new preference * Apply pull request feedback * Fix lint issues * Remove preference for federating unlisted videos from web admin interface
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 34a0a146f..f6e944298 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -178,6 +178,10 @@ plugins:
178 check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions 178 check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions
179 url: 'https://packages.joinpeertube.org' 179 url: 'https://packages.joinpeertube.org'
180 180
181federation:
182 videos:
183 federate_unlisted: true
184
181cache: 185cache:
182 previews: 186 previews:
183 size: 500 # Max number of previews you want to cache 187 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 0ac05c515..e21528821 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -179,6 +179,10 @@ plugins:
179 check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions 179 check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions
180 url: 'https://packages.joinpeertube.org' 180 url: 'https://packages.joinpeertube.org'
181 181
182federation:
183 videos:
184 federate_unlisted: true
185
182 186
183############################################################################### 187###############################################################################
184# 188#