[Mongrel] Graceful stop in, timeouts out (for now)
luislavena at gmail.com
Mon Feb 20 23:35:45 EST 2006
Mmm, still the trap of Interrupt need 1 request to stop it.
(hitting ctrl-c didn't stop it, need to refresh a the browser to
actually get the "server stopped" line).
Anyway, working with mongrel/plugins to create mongrel_rails_service
Guess that your refactoring will help more informative requires
(mongrel/cgi and mongrel/handlers)
On 2/20/06, Zed Shaw <zedshaw at zedshaw.com> wrote:
> Hey Luis,
> Just implemented the first cut at a graceful stop setup. It seems to mostly
> work except for a few hicups here and there which I'll test out. I've
> tested this under OSX and will test on the other platforms soon.
> To use it take a look at the examples/simpletest.rb and see how I setup an
> "INT" handler to call HttpServer.stop.
> Hopefully this will help with your win32 service shutdown.
> The bad news is while doing this I found that Timeout doesn't work so well
> on OSX. I've taken out the timeout functionality but left the option in so
> that people existing code don't break.
> More to come.
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users