Catalyst-Plugin-Alarm
view release on metacpan or search on metacpan
You may call individual actions with timeout values in a manner similar to the
standard forward() method.
B<NOTE:> Using alarms in a web application is not without peril, as any number of factors
could contribute to legitimately slowing down your application. The Alarm plugin should
be used only when you need to catch things that a browser's timeout feature won't catch.
=head1 CONFIGURATION
You may set default values in your config() hash, using the C<alarm> key.
Timeout values should be indicated in seconds and
B<must> be integers. The added float granularity of Time::HiRes is not available
for the alarm values due to the way sleep() and alarm() interact (i.e., they
do not play together predictably).
=over
=item timeout I<N>
The default time to wait in the timeout() method.
( run in 0.269 second using v1.01-cache-2.11-cpan-4d50c553e7e )