From 8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Apr 2019 15:38:53 +0200 Subject: Add ability to limit videos history size --- config/default.yaml | 7 +++++++ config/production.yaml.example | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 617159c2c..d45d84b90 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -111,6 +111,13 @@ tracker: # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) reject_too_many_announces: false +history: + videos: + # If you want to limit users videos history + # -1 means there is no limitations + # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) + max_age: -1 + cache: previews: size: 500 # Max number of previews you want to cache diff --git a/config/production.yaml.example b/config/production.yaml.example index dd5c9769b..b813a65e9 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -112,6 +112,12 @@ tracker: # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) reject_too_many_announces: false +history: + videos: + # If you want to limit users videos history + # -1 means there is no limitations + # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) + max_age: -1 ############################################################################### # -- cgit v1.2.3