May 26, 2018
Abort requests that are taking too long
RackTimeout is middleware, which aborts requests that have been running for longer than a specified timeout.
RackTimeout is not a solution to the problem of long-running requests, it is a debug and remediation tool. Developers should track rack-timeout’s data and address recurring instances of particular timeouts, for example, by refactoring code so it runs faster or offsetting lengthy work to happen asynchronously.