[banshee] [Migo] Increase enclosure download timeout to 5 min



commit bbf166d5bb9323d527ae54a078589518086b341a
Author: Ian McKellar <yakk yakk net>
Date:   Sat Mar 20 11:47:26 2010 -0700

    [Migo] Increase enclosure download timeout to 5 min
    
    Helps with downloading podcast episodes on slow connections.
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 .../Migo/Migo.DownloadCore/HttpFileDownloadTask.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Libraries/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs b/src/Libraries/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs
index d84586c..4bb1acd 100644
--- a/src/Libraries/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs
+++ b/src/Libraries/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs
@@ -344,7 +344,7 @@ namespace Migo.DownloadCore
                 //Console.WriteLine ("Adding Range:  {0}", wc.Range);
             }
 
-	        wc.Timeout = (60 * 1000);
+	        wc.Timeout = (5 * 60 * 1000);
 	        wc.DownloadFileCompleted += OnDownloadFileCompletedHandler;
 	        wc.DownloadProgressChanged += OnDownloadProgressChangedHandler;
 	        wc.ResponseReceived += OnResponseReceivedHandler;	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]