On 5 May 2009, at 04:36, Jon Schutz wrote:

Octavian Râsnita wrote on 5/4/09 5:43 PM:

It would be nice to be able to limit the number of requests per
fastcgi
child process...


On Mon, 2009-05-04 at 19:56 -0500, Peter Karman wrote:

Catalyst::Plugin::AutoRestart


Would I be correct in my reading of the code, that since the exit()
happens in handle_request, the request that triggers the restart does
not get served?

No, Since the second line is

  my $ret = $c->next::method(@args);

This does the normal request handling first (including writing any data) then it checks the process.

-ash
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to