fig 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fig/os.rb +1 -1
- metadata +1 -1
data/lib/fig/os.rb
CHANGED
@@ -98,7 +98,7 @@ module Fig
|
|
98
98
|
|
99
99
|
def download_ftp_list(uri, dirs)
|
100
100
|
# Run a bunch of these in parallel since they're slow as hell
|
101
|
-
num_threads = 16
|
101
|
+
num_threads = (ENV["FIG_FTP_THREADS"] || "16").to_i
|
102
102
|
threads = []
|
103
103
|
all_packages = []
|
104
104
|
(0..num_threads-1).each { |num| all_packages[num] = [] }
|