Add sleep time for update_decrypt_function

pull/272/head
Omar Roth 6 years ago
parent db7457f135
commit 6b4ea53a32

@ -132,6 +132,8 @@ decrypt_function = [] of {name: String, value: Int32}
spawn do
update_decrypt_function do |function|
decrypt_function = function
sleep 1.minutes
Fiber.yield
end
end

@ -204,7 +204,6 @@ def update_decrypt_function
end
yield decrypt_function
Fiber.yield
end
end

Loading…
Cancel
Save