diff options
author | 2016-01-04 03:05:39 +0100 | |
---|---|---|
committer | 2016-01-04 03:05:39 +0100 | |
commit | 570e448aac0cae59365c5829f9c5c74b7cf44f3e (patch) | |
tree | 158bbb1c04360cb20e8fbc0332bf68fc9fbb742a | |
parent | Support ftp (via curl for now) (diff) | |
download | mirror-toolkit-570e448aac0cae59365c5829f9c5c74b7cf44f3e.tar.gz mirror-toolkit-570e448aac0cae59365c5829f9c5c74b7cf44f3e.tar.bz2 mirror-toolkit-570e448aac0cae59365c5829f9c5c74b7cf44f3e.zip |
-rw-r--r-- | lib/mirror_toolkit.rb | 2 |
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 |