diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-27 11:53:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-27 11:53:12 +0200 |
commit | 3a54605d4e7ec5b4f47131e8d23255be35b7beac (patch) | |
tree | fce9d34812a7638d4a0253b076f05aabd15a2ce9 /server/initializers | |
parent | 88edc66edadcab1b0372679e23bf2a7a6ff50131 (diff) | |
download | PeerTube-3a54605d4e7ec5b4f47131e8d23255be35b7beac.tar.gz PeerTube-3a54605d4e7ec5b4f47131e8d23255be35b7beac.tar.zst PeerTube-3a54605d4e7ec5b4f47131e8d23255be35b7beac.zip |
Process images in a dedicated worker
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 175935835..c6989c38b 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -748,6 +748,10 @@ const WORKER_THREADS = { | |||
748 | DOWNLOAD_IMAGE: { | 748 | DOWNLOAD_IMAGE: { |
749 | CONCURRENCY: 3, | 749 | CONCURRENCY: 3, |
750 | MAX_THREADS: 1 | 750 | MAX_THREADS: 1 |
751 | }, | ||
752 | PROCESS_IMAGE: { | ||
753 | CONCURRENCY: 1, | ||
754 | MAX_THREADS: 5 | ||
751 | } | 755 | } |
752 | } | 756 | } |
753 | 757 | ||