/[Perly]/lib/Perly/Action/Run.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Perly/Action/Run.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26