Timeout callback

Alex Sharp ajsharp at gmail.com
Sun Sep 25 21:24:44 EDT 2011


 Would there be any support for a worker-level timeout callback, for workers that get killed by the master process for violating the Unicorn::Configurator.timeout setting?

I'm thinking the method could be on the Unicorn::Configurator class, something like ".at_timeout_exit". My thinking here is I want to be able to invoke caller() and get a backtrace to figure out the code that's resulting in timeouts. 

-- 
Alex Sharp

github.com/ajsharp
twitter.com/ajsharp
alexjsharp.com





More information about the mongrel-unicorn mailing list