Skip to content
Snippets Groups Projects
Commit 59c9ea84 authored by srosse's avatar srosse
Browse files

OO-4276: one transcoding job at a time

parent b71f7b5b
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ import org.olat.modules.video.VideoMeta;
import org.olat.modules.video.VideoModule;
import org.olat.modules.video.VideoTranscoding;
import org.olat.resource.OLATResource;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
......@@ -51,6 +52,7 @@ import org.quartz.JobExecutionException;
* @author srosse, stephane.rosse@frentix.com, http://www.frentix.com
*
*/
@DisallowConcurrentExecution
public class VideoTranscodingJob extends JobWithDB {
private ArrayList<String> resolutionsWithProfile = new ArrayList<>(Arrays.asList("1080", "720", "480"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment