use the getTTL method to find the time to pause running a Workflow.
This commit is contained in:
parent
adcc2690f3
commit
8ecf297931
3 changed files with 10 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue