Mark Wunsch
Mark Wunsch
Consider Rack::Timeout (https://github.com/kch/rack-timeout) or another similar Rack based solution. If that doesn't work, I can work on building in a Weary::Middleware to accommodate.
@jbmeerkat Ideally, the solution would fit all the request adapters. It's not immediately clear to me what those two methods do when using Excon for example. Weary was built with...
Once a Timeout middleware is built, it can be used in that way, yes. You can use Rack::Timeout and see if it accomplishes what you want.
The `domain` is really only there in the service a router, and even then, I believe it can be blank. If you want to make any part of the URL...
I have some inclinations about how this should be implemented, but I'd be open to taking a look at a PR.
What is involved?
There's a bunch of refactoring/rewriting work to be done -- I think this is a great thing to work in.