]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix overviews tests
authorChocobozzz <me@florianbigard.com>
Mon, 17 Sep 2018 07:39:08 +0000 (09:39 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 17 Sep 2018 08:13:54 +0000 (10:13 +0200)
server/initializers/constants.ts

index e8dab21db4e6857b842e17f19d34d9158f146184..2e0b32ce2731b735c9b6f46e9ad40f92dcd831a0 100644 (file)
@@ -659,6 +659,7 @@ if (isTestInstance() === true) {
   JOB_ATTEMPTS['email'] = 1
 
   CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000
+  MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1
 }
 
 updateWebserverConfig()