mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 20:24:03 +00:00
Add wait time option and add handling for reddit_pool
This commit is contained in:
@@ -252,8 +252,8 @@ end
|
||||
|
||||
def make_client(url, context)
|
||||
client = HTTP::Client.new(url, context)
|
||||
client.read_timeout = 10.seconds
|
||||
client.connect_timeout = 10.seconds
|
||||
client.read_timeout = 30.seconds
|
||||
client.connect_timeout = 30.seconds
|
||||
return client
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user