This commit is contained in:
Omar Roth
2019-03-11 16:17:40 -05:00
parent 1fcd1ff3e8
commit e86eb16d91
2 changed files with 9 additions and 1 deletions

View File

@@ -75,6 +75,14 @@ class DenyFrame < Kemal::Handler
end
end
# Temp fix for https://github.com/crystal-lang/crystal/issues/7383
class HTTP::Client
private def handle_response(response)
# close unless response.keep_alive?
response
end
end
def rank_videos(db, n)
top = [] of {Float64, String}