diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-14 14:57:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-14 14:57:59 +0200 |
commit | 4b5384f6e7be62d072d21d8d964951ba572ab10e (patch) | |
tree | 64dbd0c55096435ef804988c4750f717ad140633 /server/initializers | |
parent | cfc16a6db88378f83fa3a501170fa0fc5e7d6636 (diff) | |
download | PeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.tar.gz PeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.tar.zst PeerTube-4b5384f6e7be62d072d21d8d964951ba572ab10e.zip |
Add redundancy stats
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 9cccb0919..e8dab21db 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -66,7 +66,8 @@ const ROUTE_CACHE_LIFETIME = { | |||
66 | }, | 66 | }, |
67 | ACTIVITY_PUB: { | 67 | ACTIVITY_PUB: { |
68 | VIDEOS: '1 second' // 1 second, cache concurrent requests after a broadcast for example | 68 | VIDEOS: '1 second' // 1 second, cache concurrent requests after a broadcast for example |
69 | } | 69 | }, |
70 | STATS: '4 hours' | ||
70 | } | 71 | } |
71 | 72 | ||
72 | // --------------------------------------------------------------------------- | 73 | // --------------------------------------------------------------------------- |