Billy Barrow 1 месяц назад
Родитель
Сommit
a74036c3a0
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      src/Application.vala
  2. 1 1
      webmify.service

+ 2 - 2
src/Application.vala

@@ -36,10 +36,10 @@ namespace Webmify {
         print(@"[Webmify] Creating $workers workers.\n");
         queue.parallel_iterate(path => {
             var filename = Path.get_basename(path);
-            print(@"[Webmify] Dequeue \"$filename\"\n");
+            print(@"[Webmify] Dequeue \"$filename\" (30s cooldown)\n");
 
             // Cooldown to allow for file to fully copy
-            Thread.usleep(10000000);
+            Thread.usleep(30000000);
             
             var video_file = File.new_for_path(path);
             var video_info = new VideoInfo(video_file);

+ 1 - 1
webmify.service

@@ -3,7 +3,7 @@ Description=Webmify Transcoder
 After=multi-user.target
 
 [Service]
-ExecStart=/usr/bin/webmify in out work
+ExecStart=/usr/bin/webmify in out work 6
 Type=simple
 
 [Install]