Logs a timeout warning before unicorn kills the worker.
If something is running long enough for unicorn to want to kill it then its worth spending the time fixing. If the process is killed you will never know why it failed.
This will add a warning after 30 seconds and another one 1second before unicorn kills it.
It adds a middleware that sits on the Rack layer between Unicorn and Rails. It creates a timer Thread that sleeps for a set amount of time and if the current thread is still running then log a warning.
So if the world ends at least you will have a log message for it.