aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 25e9aad9c..3f934688b 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -580,6 +580,7 @@ const STATIC_DOWNLOAD_PATHS = {
580 HLS_VIDEOS: '/download/streaming-playlists/hls/videos/' 580 HLS_VIDEOS: '/download/streaming-playlists/hls/videos/'
581} 581}
582const LAZY_STATIC_PATHS = { 582const LAZY_STATIC_PATHS = {
583 BANNERS: '/lazy-static/banners/',
583 AVATARS: '/lazy-static/avatars/', 584 AVATARS: '/lazy-static/avatars/',
584 PREVIEWS: '/lazy-static/previews/', 585 PREVIEWS: '/lazy-static/previews/',
585 VIDEO_CAPTIONS: '/lazy-static/video-captions/', 586 VIDEO_CAPTIONS: '/lazy-static/video-captions/',
@@ -634,7 +635,7 @@ const LRU_CACHE = {
634 USER_TOKENS: { 635 USER_TOKENS: {
635 MAX_SIZE: 1000 636 MAX_SIZE: 1000
636 }, 637 },
637 AVATAR_STATIC: { 638 ACTOR_IMAGE_STATIC: {
638 MAX_SIZE: 500 639 MAX_SIZE: 500
639 } 640 }
640} 641}
@@ -671,7 +672,7 @@ const MEMOIZE_LENGTH = {
671} 672}
672 673
673const QUEUE_CONCURRENCY = { 674const QUEUE_CONCURRENCY = {
674 AVATAR_PROCESS_IMAGE: 3 675 ACTOR_PROCESS_IMAGE: 3
675} 676}
676 677
677const REDUNDANCY = { 678const REDUNDANCY = {