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/default.yaml | |
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/default.yaml')
-rw-r--r-- | config/default.yaml | 5 |
1 files changed, 5 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 |