From 0a3a9c7f0dba968adfd8a716cfb8287cc74cb5d2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 11 Dec 2023 23:15:47 +0100 Subject: different limit for image transcodes --- transcoder/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'transcoder/src/lib.rs') diff --git a/transcoder/src/lib.rs b/transcoder/src/lib.rs index ef663fb..d540e57 100644 --- a/transcoder/src/lib.rs +++ b/transcoder/src/lib.rs @@ -11,4 +11,5 @@ pub mod image; pub mod snippet; pub mod subtitles; -static LOCAL_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(2); +static LOCAL_IMAGE_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(8); +static LOCAL_VIDEO_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(2); -- cgit v1.2.3-70-g09d2