Add ability to limit videos history size

This commit is contained in:
Chocobozzz
2019-04-11 15:38:53 +02:00
parent 76062d9f96
commit 8f0bc73d7d
14 changed files with 116 additions and 17 deletions
+7
View File
@@ -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
+6
View File
@@ -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
###############################################################################
#