Fix job waiter.

This commit is contained in:
take-cheeze
2018-06-21 12:45:55 +09:00
parent fd9617cad0
commit 7c246cb9db
+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