mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-03 22:21:55 +00:00 
			
		
		
		
	Add sleep time for update_decrypt_function
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user