
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.