Author: justi9
Date: 2010-02-05 15:25:05 -0500 (Fri, 05 Feb 2010)
New Revision: 3846
Modified:
mgmt/trunk/wooly/python/wooly/server.py
Log:
Wait a little longer
Modified: mgmt/trunk/wooly/python/wooly/server.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/server.py 2010-02-05 20:22:38 UTC (rev 3845)
+++ mgmt/trunk/wooly/python/wooly/server.py 2010-02-05 20:25:05 UTC (rev 3846)
@@ -41,14 +41,14 @@
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
- for i in range(10):
+ for i in range(60):
try:
s.bind((self.addr, self.port))
return
except socket.error:
log.warn("Address %s:%i is taken; retrying",
self.addr, self.port)
- time.sleep(1)
+ time.sleep(5)
finally:
s.close()
Show replies by date