Ver Fonte

Merge pull request #168 from joshuaboniface/ffmpeg-timeout

Up the timerDuration back to 10s, 2s is too low
Andrew Rabert há 6 anos atrás
pai
commit
72619ddc5a
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      MediaBrowser.Api/ApiEntryPoint.cs

+ 1 - 2
MediaBrowser.Api/ApiEntryPoint.cs

@@ -421,15 +421,14 @@ namespace MediaBrowser.Api
                 return;
                 return;
             }
             }
 
 
-            /*
             var timerDuration = 10000;
             var timerDuration = 10000;
 
 
+            /*
             if (job.Type != TranscodingJobType.Progressive)
             if (job.Type != TranscodingJobType.Progressive)
             {
             {
                 timerDuration = 60000;
                 timerDuration = 60000;
             }
             }
             */
             */
-            var timerDuration = 2000;
 
 
             job.PingTimeout = timerDuration;
             job.PingTimeout = timerDuration;
             job.LastPingDate = DateTime.UtcNow;
             job.LastPingDate = DateTime.UtcNow;