summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2013-10-01 15:41:26 -0500
committerGeorge Kraft <george.kraft@calxeda.com>2013-10-01 15:41:26 -0500
commit52057843f2b4002095422069ae0abbfa360de9ed (patch)
tree5debb511e3e7d3d280fdde0852d1a1b42a49f21c
parent15433b9d93150d212562be13a2b2f10e8b9dd9b3 (diff)
downloadcxmanage-52057843f2b4002095422069ae0abbfa360de9ed.tar.gz
CXMAN-225: Increase InternalTftp port deadline to 10 seconds
-rw-r--r--cxmanage_api/tftp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cxmanage_api/tftp.py b/cxmanage_api/tftp.py
index 58b6cee..59e9774 100644
--- a/cxmanage_api/tftp.py
+++ b/cxmanage_api/tftp.py
@@ -85,7 +85,7 @@ class InternalTftp(Thread):
# Get the port we actually hosted on
if port == 0:
- deadline = datetime.now() + timedelta(seconds=1)
+ deadline = datetime.now() + timedelta(seconds=10)
while datetime.now() < deadline:
try:
self.port = self.server.sock.getsockname()[1]