diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-17 10:28:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-17 10:28:38 +0200 |
commit | 860cfb31e343f2317416da738f7155803ef4fe75 (patch) | |
tree | d426eff8072972c122b5604e36cfc83bea3a0246 /server/initializers | |
parent | 2ff83ae2923aa93ccefb0fa989ae0bf138a46d77 (diff) | |
download | PeerTube-860cfb31e343f2317416da738f7155803ef4fe75.tar.gz PeerTube-860cfb31e343f2317416da738f7155803ef4fe75.tar.zst PeerTube-860cfb31e343f2317416da738f7155803ef4fe75.zip |
Fix "no results" on overview page
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 2e0b32ce2..02363352e 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -660,6 +660,7 @@ if (isTestInstance() === true) { | |||
660 | 660 | ||
661 | CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000 | 661 | CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000 |
662 | MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1 | 662 | MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1 |
663 | ROUTE_CACHE_LIFETIME.OVERVIEWS.VIDEOS = '0' | ||
663 | } | 664 | } |
664 | 665 | ||
665 | updateWebserverConfig() | 666 | updateWebserverConfig() |