diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-17 09:39:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-17 10:13:54 +0200 |
commit | 743164fed1cbeeee0fd39e9848dbe5131b734e71 (patch) | |
tree | aea199f182f05ba24d84304474af151a7a17d05f | |
parent | ff587059b9d901c26eab34f4b7f0c06130aae10d (diff) | |
download | PeerTube-743164fed1cbeeee0fd39e9848dbe5131b734e71.tar.gz PeerTube-743164fed1cbeeee0fd39e9848dbe5131b734e71.tar.zst PeerTube-743164fed1cbeeee0fd39e9848dbe5131b734e71.zip |
Fix overviews tests
-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 e8dab21db..2e0b32ce2 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -659,6 +659,7 @@ if (isTestInstance() === true) { | |||
659 | JOB_ATTEMPTS['email'] = 1 | 659 | JOB_ATTEMPTS['email'] = 1 |
660 | 660 | ||
661 | CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000 | 661 | CACHE.VIDEO_CAPTIONS.MAX_AGE = 3000 |
662 | MEMOIZE_TTL.OVERVIEWS_SAMPLE = 1 | ||
662 | } | 663 | } |
663 | 664 | ||
664 | updateWebserverConfig() | 665 | updateWebserverConfig() |