Parent Directory | Revision Log | Patch
revision 31 by dpavlin, Wed Jun 6 10:55:52 2007 UTC | revision 32 by dpavlin, Wed Jun 6 19:06:53 2007 UTC | |
---|---|---|
# | Line 96 sub take_action { | Line 96 sub take_action { |
96 | } | } |
97 | ||
98 | my $output; | my $output; |
99 | my $timeout = 5; | my $timeout = Jifty->config->app('timeout') || 10; |
100 | ||
101 | eval { | eval { |
102 | local $SIG{ALRM} = sub { die "Aborted execution after $timeout sec.\n" }; # NB: \n required | local $SIG{ALRM} = sub { die "Aborted execution after $timeout sec.\n" }; # NB: \n required |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |