From: Chocobozzz Date: Fri, 11 May 2018 08:25:58 +0000 (+0200) Subject: Decrease AP video cache X-Git-Tag: v1.0.0-beta.5~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9675333decd0b89b73a4fc67b39272f7296bfe3f;p=oweals%2Fpeertube.git Decrease AP video cache --- diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index cfa0203d2..6c9b78068 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -45,7 +45,7 @@ const OAUTH_LIFETIME = { const ROUTE_CACHE_LIFETIME = { FEEDS: 1000 * 60 * 15, // 15 minutes ACTIVITY_PUB: { - VIDEOS: 1000 * 5 // 5 seconds + VIDEOS: 1000 // 1 second, cache concurrent requests after a broadcast for example } }