diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index ef63fbd28..254fa0c99 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -62,6 +62,10 @@ search: | |||
62 | users: true | 62 | users: true |
63 | anonymous: false | 63 | anonymous: false |
64 | 64 | ||
65 | trending: | ||
66 | videos: | ||
67 | interval_days: 7 # Compute trending videos for the last x days | ||
68 | |||
65 | cache: | 69 | cache: |
66 | previews: | 70 | previews: |
67 | size: 500 # Max number of previews you want to cache | 71 | size: 500 # Max number of previews you want to cache |
diff --git a/config/production.yaml.example b/config/production.yaml.example index f7b153698..e33427fae 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -63,6 +63,10 @@ search: | |||
63 | users: true | 63 | users: true |
64 | anonymous: false | 64 | anonymous: false |
65 | 65 | ||
66 | trending: | ||
67 | videos: | ||
68 | interval_days: 7 # Compute trending videos for the last x days | ||
69 | |||
66 | ############################################################################### | 70 | ############################################################################### |
67 | # | 71 | # |
68 | # From this point, all the following keys can be overridden by the web interface | 72 | # From this point, all the following keys can be overridden by the web interface |