diff options
author | Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> | 2020-06-03 09:42:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 09:42:07 +0200 |
commit | 3092e9bbb05fe292fd13bc685b89069c3dda55d9 (patch) | |
tree | 42b9d04dd7749e835e09cb912677aaad21333a5d /config | |
parent | 78646451c9896db3c2239270cd7e100305749f41 (diff) | |
download | PeerTube-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.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 4 |
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 | ||
181 | federation: | ||
182 | videos: | ||
183 | federate_unlisted: true | ||
184 | |||
181 | cache: | 185 | cache: |
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 | ||
182 | federation: | ||
183 | videos: | ||
184 | federate_unlisted: true | ||
185 | |||
182 | 186 | ||
183 | ############################################################################### | 187 | ############################################################################### |
184 | # | 188 | # |