Fix job waiter.

parent fd9617ca
...@@ -529,6 +529,8 @@ class RakeApp ...@@ -529,6 +529,8 @@ class RakeApp
next next
end end
wait_process while $rake_fiber_table.size >= $rake_jobs
f.resume f.resume
end end
end end
...@@ -577,6 +579,9 @@ class RakeApp ...@@ -577,6 +579,9 @@ class RakeApp
if st.exitstatus != 0 if st.exitstatus != 0
raise "Command Failed: [#{ent[:command]}]" raise "Command Failed: [#{ent[:command]}]"
end end
wait_process while $rake_fiber_table.size >= $rake_jobs
ent[:fiber].resume ent[:fiber].resume
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment