Add Fiber.yield to jobs

This commit is contained in:
Omar Roth 2018-04-28 09:26:03 -05:00
parent 92f78ff541
commit d753e52680
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,8 @@ threads.times do
end
end
end
Fiber.yield
end
end
end
@ -132,6 +134,7 @@ channel_threads.times do |i|
end
end
end
Fiber.yield
end
end
end