diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 243: Increase wget connect timeout to see if it improves deployment reliability when the server is busy

Message ID 20120309010212.28768.93500.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson March 9, 2012, 1:02 a.m. UTC
Merge authors:
  Paul Larson <paul.larson@linaro.org>
Related merge proposals:
  https://code.launchpad.net/~pwlars/lava-dispatcher/fix-wget-timeout/+merge/96665
  proposed by: Paul Larson (pwlars)
  review: Approve - Le Chi Thu (le-chi-thu)
------------------------------------------------------------
revno: 243 [merge]
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Fri 2012-03-09 14:00:11 +1300
message:
  Increase wget connect timeout to see if it improves deployment reliability when the server is busy
modified:
  doc/changes.rst
  lava_dispatcher/client/master.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'doc/changes.rst'
--- doc/changes.rst	2012-03-02 03:12:54 +0000
+++ doc/changes.rst	2012-03-08 21:31:03 +0000
@@ -1,6 +1,15 @@ 
 Version History
 ***************
 
+.. _version_0_5_7:
+
+Version 0.5.7
+=============
+
+* Increase wget connect timeout to see if we can work around a possible
+  issue where the server gets busy, and doesn't connect quickly enough
+  for getting the tarballs
+
 .. _version_0_5_6:
 
 Version 0.5.6

=== modified file 'lava_dispatcher/client/master.py'
--- lava_dispatcher/client/master.py	2012-03-06 23:12:33 +0000
+++ lava_dispatcher/client/master.py	2012-03-08 21:31:03 +0000
@@ -72,7 +72,7 @@ 
     elif tarball_url.endswith('.bz2'):
         decompression_char = 'j'
     session.run(
-        'wget -qO- %s |tar --numeric-owner -C %s -x%sf -' % (
+        'wget --connect-timeout=30 -qO- %s |tar --numeric-owner -C %s -x%sf -' % (
             tarball_url, dest, decompression_char),
         timeout=timeout)