summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-06 00:34:26 +0000
committerOmar Roth <omarroth@hotmail.com>2018-03-06 00:34:26 +0000
commitb14b26f7c2be2605c747f03d2763f9ad1428bbe9 (patch)
tree4b1360537e53714c4d4b68b8154f4b7acdbf8b47 /src
parentfc7b84cc68d5c0d5c0d3dd4052741dc02cc44c89 (diff)
downloadinvidious-b14b26f7c2be2605c747f03d2763f9ad1428bbe9.tar.gz
invidious-b14b26f7c2be2605c747f03d2763f9ad1428bbe9.tar.bz2
invidious-b14b26f7c2be2605c747f03d2763f9ad1428bbe9.zip
Make rank_videos less greedy
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index dfd5e924..9758349c 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -129,6 +129,7 @@ spawn do
end
top_videos = videos
+ Fiber.yield
end
end