mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Introduce worker threads to process remote images
This commit is contained in:
@@ -744,8 +744,11 @@ const MEMOIZE_LENGTH = {
|
||||
VIDEO_DURATION: 200
|
||||
}
|
||||
|
||||
const QUEUE_CONCURRENCY = {
|
||||
ACTOR_PROCESS_IMAGE: 3
|
||||
const WORKER_THREADS = {
|
||||
DOWNLOAD_IMAGE: {
|
||||
CONCURRENCY: 3,
|
||||
MAX_THREADS: 1
|
||||
}
|
||||
}
|
||||
|
||||
const REDUNDANCY = {
|
||||
@@ -955,7 +958,7 @@ export {
|
||||
VIDEO_PRIVACIES,
|
||||
VIDEO_LICENCES,
|
||||
VIDEO_STATES,
|
||||
QUEUE_CONCURRENCY,
|
||||
WORKER_THREADS,
|
||||
VIDEO_RATE_TYPES,
|
||||
JOB_PRIORITY,
|
||||
VIDEO_TRANSCODING_FPS,
|
||||
|
||||
Reference in New Issue
Block a user