fig 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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] = [] }
|