mirror of https://github.com/iv-org/invidious.git
Ameba: Fix Style/WhileTrue
This commit is contained in:
parent
e319c35f09
commit
22b35c453e
|
@ -131,7 +131,7 @@ module Invidious::Routes::VideoPlayback
|
|||
end
|
||||
|
||||
# TODO: Record bytes written so we can restart after a chunk fails
|
||||
while true
|
||||
loop do
|
||||
if !range_end && content_length
|
||||
range_end = content_length
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue