diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-06 11:35:56 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-08 10:07:53 +0200 |
commit | f479685678406a5df864d89615b33d29085ebfc6 (patch) | |
tree | 8de15e90cd8d97d8810715df8585c61f48d5282a /server/initializers/constants.ts | |
parent | 968aaed2066873fc1c39f95168284122d9d15e21 (diff) | |
download | PeerTube-f479685678406a5df864d89615b33d29085ebfc6.tar.gz PeerTube-f479685678406a5df864d89615b33d29085ebfc6.tar.zst PeerTube-f479685678406a5df864d89615b33d29085ebfc6.zip |
Agnostic actor image storage
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
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 | } |
582 | const LAZY_STATIC_PATHS = { | 582 | const 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 | ||
673 | const QUEUE_CONCURRENCY = { | 674 | const QUEUE_CONCURRENCY = { |
674 | AVATAR_PROCESS_IMAGE: 3 | 675 | ACTOR_PROCESS_IMAGE: 3 |
675 | } | 676 | } |
676 | 677 | ||
677 | const REDUNDANCY = { | 678 | const REDUNDANCY = { |