try more times to connect.

This commit is contained in:
Dmitry Trofimov
2014-03-12 23:18:17 +01:00
parent 6ee4e80c55
commit 38fcfd7e0e
+1 -1
View File
@@ -432,7 +432,7 @@ def StartClient(host, port):
s = socket(AF_INET, SOCK_STREAM)
MAX_TRIES = 3
MAX_TRIES = 20
i = 0
while i<MAX_TRIES:
try: