use the getTTL method to find the time to pause running a Workflow.

This commit is contained in:
Colin Kuskie 2010-09-24 08:16:58 -07:00
parent adcc2690f3
commit 8ecf297931
3 changed files with 10 additions and 9 deletions

View file

@ -65,7 +65,7 @@ See WebGUI::Workflow::Activity::execute() for details.
sub execute {
my ( $self, $obj, $instance ) = @_;
my $timeLimit = time + 55;
my $timeLimit = time + self->getTTL;
my $piped = $instance->getScratch('recurrences')
|| $self->generateRecurrenceList();