Merge pull request #4056 from take-cheeze/fix_rake_jobs

Fix job waiter of minirake.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-06-22 07:18:01 +09:00
committed by GitHub
+5
View File
@@ -529,6 +529,8 @@ class RakeApp
next
end
wait_process while $rake_fiber_table.size >= $rake_jobs
f.resume
end
end
@@ -577,6 +579,9 @@ class RakeApp
if st.exitstatus != 0
raise "Command Failed: [#{ent[:command]}]"
end
wait_process while $rake_fiber_table.size >= $rake_jobs
ent[:fiber].resume
end
end