Minor fixes

This commit is contained in:
Omar Roth
2018-02-26 18:59:02 -06:00
parent 7828cd9767
commit 3a95d21808
2 changed files with 4 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ def rank_videos(db, n)
end
def make_client(url, context)
client = HTTP::Client.new(URL, CONTEXT)
client = HTTP::Client.new(url, context)
client.read_timeout = 10.seconds
client.connect_timeout = 10.seconds
return client