Export a method from Workflow::Activity for timeouts and use it in all current Workflows
This commit is contained in:
parent
85ecaa9a09
commit
726bd5ee05
12 changed files with 36 additions and 12 deletions
|
|
@ -265,6 +265,19 @@ sub getName {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getTTL ( )
|
||||
|
||||
Returns the maximum amount of time, in seconds, that a Workflow
|
||||
Activity should run. Currently 55 seconds.
|
||||
|
||||
=cut
|
||||
|
||||
sub getTTL {
|
||||
return 55;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 new ( session, activityId )
|
||||
|
||||
Constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue