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.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/transcoder/src/lib.rs b/transcoder/src/lib.rs
index 240d37a..673946b 100644
--- a/transcoder/src/lib.rs
+++ b/transcoder/src/lib.rs
@@ -5,5 +5,9 @@
*/
#![feature(async_closure)]
#![feature(exit_status_error)]
+
+use tokio::sync::Semaphore;
pub mod image;
pub mod snippet;
+
+static LOCAL_TRANSCODING_TASKS: Semaphore = Semaphore::const_new(2);