how does a middleware get deleted?
问题 rack-timeout is included in the Gemfile, but we only want it as middleware on production. Thus in an initializer, we have: config.middleware.delete Rack::Timeout Inspecting before and after this line shows rack-timeout removed from the array. Regardless, requests are still timing out, and a quick 'puts' in the gem shows that it is indeed the culprit. Is this because the middleware stack has already been built before delete is called? Or is the stack read in every request? If that's the case,