diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 5f7bcbd48..9cccb0919 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -592,6 +592,10 @@ const CACHE = { | |||
592 | } | 592 | } |
593 | } | 593 | } |
594 | 594 | ||
595 | const MEMOIZE_TTL = { | ||
596 | OVERVIEWS_SAMPLE: 1000 * 3600 * 4 // 4 hours | ||
597 | } | ||
598 | |||
595 | const REDUNDANCY = { | 599 | const REDUNDANCY = { |
596 | VIDEOS: { | 600 | VIDEOS: { |
597 | EXPIRES_AFTER_MS: 48 * 3600 * 1000, // 2 days | 601 | EXPIRES_AFTER_MS: 48 * 3600 * 1000, // 2 days |
@@ -708,6 +712,7 @@ export { | |||
708 | VIDEO_ABUSE_STATES, | 712 | VIDEO_ABUSE_STATES, |
709 | JOB_REQUEST_TIMEOUT, | 713 | JOB_REQUEST_TIMEOUT, |
710 | USER_PASSWORD_RESET_LIFETIME, | 714 | USER_PASSWORD_RESET_LIFETIME, |
715 | MEMOIZE_TTL, | ||
711 | USER_EMAIL_VERIFY_LIFETIME, | 716 | USER_EMAIL_VERIFY_LIFETIME, |
712 | IMAGE_MIMETYPE_EXT, | 717 | IMAGE_MIMETYPE_EXT, |
713 | OVERVIEWS, | 718 | OVERVIEWS, |