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