diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 17:33:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-12 08:31:06 +0200 |
commit | cda03765fe366f028897e9b02dd4a0a19af3c935 (patch) | |
tree | 4d30303d76f8fd171195a51b1f737a0067987d6c /config/production.yaml.example | |
parent | 7b293f28686319242958dff7315cdd8ad74fc15e (diff) | |
download | PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.gz PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.zst PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.zip |
Add ability to delete old remote views
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index b813a65e9..06baaf7d4 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -119,6 +119,17 @@ history: | |||
119 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | 119 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) |
120 | max_age: -1 | 120 | max_age: -1 |
121 | 121 | ||
122 | views: | ||
123 | videos: | ||
124 | # PeerTube creates a database entry every hour for each video to track views over a period of time | ||
125 | # This is used in particular by the Trending page | ||
126 | # PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered) | ||
127 | # -1 means no cleanup | ||
128 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | ||
129 | remote: | ||
130 | max_age: -1 | ||
131 | |||
132 | |||
122 | ############################################################################### | 133 | ############################################################################### |
123 | # | 134 | # |
124 | # From this point, all the following keys can be overridden by the web interface | 135 | # From this point, all the following keys can be overridden by the web interface |