aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-11 10:25:58 +0200
committerChocobozzz <me@florianbigard.com>2018-05-11 15:25:51 +0200
commit9675333decd0b89b73a4fc67b39272f7296bfe3f (patch)
tree648755970fbe97e99379aeac15b4a4b4c0a52568
parent7cf34e2115f36709061f320a66539ae8394d4243 (diff)
downloadPeerTube-9675333decd0b89b73a4fc67b39272f7296bfe3f.tar.gz
PeerTube-9675333decd0b89b73a4fc67b39272f7296bfe3f.tar.zst
PeerTube-9675333decd0b89b73a4fc67b39272f7296bfe3f.zip
Decrease AP video cache
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
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 = {
45const ROUTE_CACHE_LIFETIME = { 45const ROUTE_CACHE_LIFETIME = {
46 FEEDS: 1000 * 60 * 15, // 15 minutes 46 FEEDS: 1000 * 60 * 15, // 15 minutes
47 ACTIVITY_PUB: { 47 ACTIVITY_PUB: {
48 VIDEOS: 1000 * 5 // 5 seconds 48 VIDEOS: 1000 // 1 second, cache concurrent requests after a broadcast for example
49 } 49 }
50} 50}
51 51