diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 5 | ||||
-rw-r--r-- | config/production.yaml.example | 5 | ||||
-rw-r--r-- | config/test.yaml | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index c30c29a6b..ee7acb437 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -232,6 +232,11 @@ views: | |||
232 | remote: | 232 | remote: |
233 | max_age: '30 days' | 233 | max_age: '30 days' |
234 | 234 | ||
235 | # PeerTube buffers local video views before updating and federating the video | ||
236 | local_buffer_update_interval: '30 minutes' | ||
237 | |||
238 | ip_view_expiration: '1 hour' | ||
239 | |||
235 | plugins: | 240 | plugins: |
236 | # The website PeerTube will ask for available PeerTube plugins and themes | 241 | # The website PeerTube will ask for available PeerTube plugins and themes |
237 | # This is an unmoderated plugin index, so only install plugins/themes you trust | 242 | # This is an unmoderated plugin index, so only install plugins/themes you trust |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 4dc5c281d..0175c7a12 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -230,6 +230,11 @@ views: | |||
230 | remote: | 230 | remote: |
231 | max_age: '30 days' | 231 | max_age: '30 days' |
232 | 232 | ||
233 | # PeerTube buffers local video views before updating and federating the video | ||
234 | local_buffer_update_interval: '30 minutes' | ||
235 | |||
236 | ip_view_expiration: '1 hour' | ||
237 | |||
233 | plugins: | 238 | plugins: |
234 | # The website PeerTube will ask for available PeerTube plugins and themes | 239 | # The website PeerTube will ask for available PeerTube plugins and themes |
235 | # This is an unmoderated plugin index, so only install plugins/themes you trust | 240 | # This is an unmoderated plugin index, so only install plugins/themes you trust |
diff --git a/config/test.yaml b/config/test.yaml index e9731d863..2e7f982d3 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -160,3 +160,6 @@ views: | |||
160 | videos: | 160 | videos: |
161 | remote: | 161 | remote: |
162 | max_age: -1 | 162 | max_age: -1 |
163 | |||
164 | local_buffer_update_interval: '5 seconds' | ||
165 | ip_view_expiration: '1 second' | ||