Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.312 kB
class Huboard
class Client
class Mimetype < Faraday::Middleware
def initialize(app, *args)
@app = app
end
def call(env)
env[:request][:timeout] = 3
env[:request][:open_timeout] = Rails.env.production? ? 1.7 : 10
@app.call env
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.