mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-15 06:40:34 +05:30
Add Fiber.yield to jobs
This commit is contained in:
parent
92f78ff541
commit
d753e52680
@ -108,6 +108,8 @@ threads.times do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Fiber.yield
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -132,6 +134,7 @@ channel_threads.times do |i|
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Fiber.yield
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user