diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index d469ce425..175935835 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -744,8 +744,11 @@ const MEMOIZE_LENGTH = { | |||
744 | VIDEO_DURATION: 200 | 744 | VIDEO_DURATION: 200 |
745 | } | 745 | } |
746 | 746 | ||
747 | const QUEUE_CONCURRENCY = { | 747 | const WORKER_THREADS = { |
748 | ACTOR_PROCESS_IMAGE: 3 | 748 | DOWNLOAD_IMAGE: { |
749 | CONCURRENCY: 3, | ||
750 | MAX_THREADS: 1 | ||
751 | } | ||
749 | } | 752 | } |
750 | 753 | ||
751 | const REDUNDANCY = { | 754 | const REDUNDANCY = { |
@@ -955,7 +958,7 @@ export { | |||
955 | VIDEO_PRIVACIES, | 958 | VIDEO_PRIVACIES, |
956 | VIDEO_LICENCES, | 959 | VIDEO_LICENCES, |
957 | VIDEO_STATES, | 960 | VIDEO_STATES, |
958 | QUEUE_CONCURRENCY, | 961 | WORKER_THREADS, |
959 | VIDEO_RATE_TYPES, | 962 | VIDEO_RATE_TYPES, |
960 | JOB_PRIORITY, | 963 | JOB_PRIORITY, |
961 | VIDEO_TRANSCODING_FPS, | 964 | VIDEO_TRANSCODING_FPS, |