diff options
author | George Kraft <george.kraft@calxeda.com> | 2013-10-01 15:41:26 -0500 |
---|---|---|
committer | George Kraft <george.kraft@calxeda.com> | 2013-10-01 15:41:26 -0500 |
commit | 52057843f2b4002095422069ae0abbfa360de9ed (patch) | |
tree | 5debb511e3e7d3d280fdde0852d1a1b42a49f21c | |
parent | 15433b9d93150d212562be13a2b2f10e8b9dd9b3 (diff) | |
download | cxmanage-52057843f2b4002095422069ae0abbfa360de9ed.tar.gz |
CXMAN-225: Increase InternalTftp port deadline to 10 seconds
-rw-r--r-- | cxmanage_api/tftp.py | 2 |
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] |