diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index e66ebb662..e8e0da683 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -46,9 +46,11 @@ const OAUTH_LIFETIME = { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | const ROUTE_CACHE_LIFETIME = { | 48 | const ROUTE_CACHE_LIFETIME = { |
49 | FEEDS: 1000 * 60 * 15, // 15 minutes | 49 | FEEDS: '15 minutes', |
50 | ROBOTS: '2 hours', | ||
51 | NODEINFO: '10 minutes', | ||
50 | ACTIVITY_PUB: { | 52 | ACTIVITY_PUB: { |
51 | VIDEOS: 1000 // 1 second, cache concurrent requests after a broadcast for example | 53 | VIDEOS: '1 second' // 1 second, cache concurrent requests after a broadcast for example |
52 | } | 54 | } |
53 | } | 55 | } |
54 | 56 | ||