diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 7 | ||||
-rw-r--r-- | config/production.yaml.example | 6 |
2 files changed, 13 insertions, 0 deletions
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: | |||
111 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) | 111 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) |
112 | reject_too_many_announces: false | 112 | reject_too_many_announces: false |
113 | 113 | ||
114 | history: | ||
115 | videos: | ||
116 | # If you want to limit users videos history | ||
117 | # -1 means there is no limitations | ||
118 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | ||
119 | max_age: -1 | ||
120 | |||
114 | cache: | 121 | cache: |
115 | previews: | 122 | previews: |
116 | size: 500 # Max number of previews you want to cache | 123 | 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: | |||
112 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) | 112 | # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers) |
113 | reject_too_many_announces: false | 113 | reject_too_many_announces: false |
114 | 114 | ||
115 | history: | ||
116 | videos: | ||
117 | # If you want to limit users videos history | ||
118 | # -1 means there is no limitations | ||
119 | # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database) | ||
120 | max_age: -1 | ||
115 | 121 | ||
116 | ############################################################################### | 122 | ############################################################################### |
117 | # | 123 | # |