Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/clovershell-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CloverShell/ClovershellConnection.cs')
-rw-r--r--CloverShell/ClovershellConnection.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/CloverShell/ClovershellConnection.cs b/CloverShell/ClovershellConnection.cs
index ae247c9..79d5170 100644
--- a/CloverShell/ClovershellConnection.cs
+++ b/CloverShell/ClovershellConnection.cs
@@ -422,7 +422,8 @@ namespace com.clusterrr.clovershell
len -= tLen;
if (res != ErrorCode.Ok)
{
- if (repeats >= 3) break;
+ if (repeats >= 10) break;
+ Debug.WriteLine("clovershell write error: " + res.ToString());
repeats++;
Thread.Sleep(100);
}