summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mirror_toolkit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mirror_toolkit.rb b/lib/mirror_toolkit.rb
index 8e1cde5..7e215c1 100644
--- a/lib/mirror_toolkit.rb
+++ b/lib/mirror_toolkit.rb
@@ -26,7 +26,7 @@ module MirrorToolkit
end
def curl(uri)
- stdin, stdout, stderr, wait_thr = Open3.popen3('curl', uri)
+ stdin, stdout, stderr, wait_thr = Open3.popen3('curl', '-m', '20', uri)
stdin.close
if wait_thr.value == 0