Update: There’s a great resource for dealing with timeouts in Ruby called The ultimate guide to Ruby Timeouts, via @codefolio. Also there’s some good dicussion on Reddit around the possibility of maybe using Thread.handle_interupt in gems, read the comments. Also I added a feature to “SIGTERM” on timeout in rack-timeout that can help mitigate (but not fix) the issue term on timeout documentation.
![The Oldest Bug In Ruby - Why Rack::Timeout Might Hose your Server](https://cdn-ak-scissors.b.st-hatena.com/image/square/3d7ab5b8a6df884a17619c8ae10be68a75e6370d/height=288;version=1;width=512/https%3A%2F%2Fwww.schneems.com%2Fassets%2Fimages%2Fopengraph-fa864d394c2827a722808773a4400189b28646ecf3b4ad499183208d6dcfab36.png)