Catalyst::Plugin::Apoptosis - Stop Execution Of A Catalyst App
use Catalyst qw( Apoptosis::GTop ); __PACKAGE__->config( apoptosis => { gtop => { size => 1_000_000 } } )
Sometimes you're bound by the amount of memory you can use, so you want your long-running app to exit gracefully. This plugin overrides handle_request() and attempts to exit the application when such conditions area reached.
Tests. Other apoptosis conditions.
Catalyst::Plugin::Apoptosis::GTop
Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Catalyst::Plugin::Apoptosis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Apoptosis
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Apoptosis
For more information on module installation, please visit the detailed CPAN module installation guide.