[buildinfo.debian.net] 11/35: Suggest --max-time 30

Chris Lamb chris at chris-lamb.co.uk
Thu Nov 3 19:02:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 081c7576d303e908f6d466dd7fb680621ffffe9b
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Oct 23 09:49:33 2016 +0200

    Suggest --max-time 30
---
 templates/static/landing.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/static/landing.html b/templates/static/landing.html
index 1afd1d4..222a45a 100644
--- a/templates/static/landing.html
+++ b/templates/static/landing.html
@@ -47,7 +47,7 @@
       </h4>
       <p>
         <code>
-          $ curl -X PUT --data-binary @- {{ settings.SITE_URL }}{% url "api:submit" %} < <em>my.buildinfo</em>
+          $ curl-X PUT --data-binary @- --max-time 30 {{ settings.SITE_URL }}{% url "api:submit" %} < <em>my.buildinfo</em>
         </code>
       </p>
 
@@ -58,7 +58,7 @@
       </h4>
       <p>
         <code>
-          $ gpg --output=- --clearsign <em>my.buildinfo</em> | curl -X PUT --data-binary @- {{ settings.SITE_URL }}{% url "api:submit" %}
+          $ gpg --output=- --clearsign <em>my.buildinfo</em> | curl -X PUT --max-time 30 --data-binary @- {{ settings.SITE_URL }}{% url "api:submit" %}
         </code>
       </p>
 
@@ -69,7 +69,7 @@
       </h4>
       <p>
         <code>
-          $ gpg --output=- --clearsign <em>my.buildinfo</em> | curl -X PUT --data-binary @- {{ settings.SITE_URL }}{% url "api:submit" %}?node=$(hostname -a)
+          $ gpg --output=- --clearsign <em>my.buildinfo</em> | curl -X PUT --max-time 30 --data-binary @- {{ settings.SITE_URL }}{% url "api:submit" %}?node=$(hostname -a)
         </code>
       </p>
     </div>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list