From 200a15097ab75aa2ccf77204a97f526fbc71d436 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Fri, 8 Feb 2013 15:21:02 +0100 Subject: [PATCH] increase connect-timeout to 60 seconds --- bin/motion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/motion b/bin/motion index 92cdc3d9..139a6a58 100644 --- a/bin/motion +++ b/bin/motion @@ -113,7 +113,7 @@ class UpdateCommand < Command self.help = 'Update the software' def self.curl(cmd) - resp = `/usr/bin/curl --connect-timeout 5 #{cmd}` + resp = `/usr/bin/curl --connect-timeout 60 #{cmd}` if $?.exitstatus != 0 die "Error when connecting to the server. Check your Internet connection and try again." end