Increased the number of retries before abandoning StartMonitor
authorpkanavos <pkanavos@gmail.com>
Wed, 4 Jul 2012 14:16:01 +0000 (17:16 +0300)
committerpkanavos <pkanavos@gmail.com>
Wed, 4 Jul 2012 14:16:01 +0000 (17:16 +0300)
trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs

index 692f0ae..897d7d7 100644 (file)
@@ -903,7 +903,7 @@ namespace Pithos.Client.WPF {
 
                private bool AbandonRetry(PithosMonitor monitor, int retries)
                {
-                       if (retries > 1)
+                       if (retries > 3)
                        {
                                var message = String.Format("Monitoring of account {0} has failed too many times. Will not retry",
                                                                                        monitor.UserName);