diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-09 10:11:20 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-11-09 15:00:31 +0100 |
commit | 51353d9a035fb6b81f903a8b5f391292841649fd (patch) | |
tree | 75acb6eea5e043bf2e15a6a5a92e9a3c5967b156 /config/production.yaml.example | |
parent | 221ee1adc916684d4881d2a9c4c01954dcde986e (diff) | |
download | PeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.tar.gz PeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.tar.zst PeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.zip |
Refactor video views
Introduce viewers attribute for live videos
Count views for live videos
Reduce delay to see the viewer update for lives
Add ability to configure video views buffer interval and view ip
expiration
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 5 |
1 files changed, 5 insertions, 0 deletions
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 |