mirror of
https://github.com/iv-org/invidious
synced 2024-11-09 01:10:27 +00:00
Add sleep time for update_decrypt_function
This commit is contained in:
parent
db7457f135
commit
6b4ea53a32
@ -132,6 +132,8 @@ decrypt_function = [] of {name: String, value: Int32}
|
|||||||
spawn do
|
spawn do
|
||||||
update_decrypt_function do |function|
|
update_decrypt_function do |function|
|
||||||
decrypt_function = function
|
decrypt_function = function
|
||||||
|
sleep 1.minutes
|
||||||
|
Fiber.yield
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -204,7 +204,6 @@ def update_decrypt_function
|
|||||||
end
|
end
|
||||||
|
|
||||||
yield decrypt_function
|
yield decrypt_function
|
||||||
Fiber.yield
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user