aboutsummaryrefslogtreecommitdiff
path: root/transcoder/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'transcoder/src/lib.rs')
-rw-r--r--transcoder/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcoder/src/lib.rs b/transcoder/src/lib.rs
index 665f470..1eac15b 100644
--- a/transcoder/src/lib.rs
+++ b/transcoder/src/lib.rs
@@ -37,4 +37,4 @@ static CONF: LazyLock<Config> = LazyLock::new(|| {
});
static LOCAL_IMAGE_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(8);
-static LOCAL_VIDEO_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(2);
+static LOCAL_VIDEO_TRANSCODING_TASKS: Mutex<()> = Mutex::new(());