Author: alanmc
Date: 2007-04-03 18:38:02 -0400 (Tue, 03 Apr 2007)
New Revision: 75368

Modified:
   trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionMonitor.cs
Log:
850ms is a better min interval than 500ms.

Modified: trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionMonitor.cs
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionMonitor.cs 
2007-04-03 22:35:32 UTC (rev 75367)
+++ trunk/bitsharp/src/MonoTorrent.Client/Managers/ConnectionMonitor.cs 
2007-04-03 22:38:02 UTC (rev 75368)
@@ -211,7 +211,7 @@
                         difference = 1000;
 
                     // Horrible hack to fix NaN
-                    if (difference < 500)
+                    if (difference < 850)
                         return;
 
                     // Take the amount of bytes sent since the last tick and 
divide it by the number of seconds

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to