- Made a change to version tag commits to deal with unusually long commit
times.
This commit is contained in:
parent
204046d283
commit
282e1caacd
3 changed files with 46 additions and 11 deletions
|
|
@ -70,8 +70,13 @@ See WebGUI::Workflow::Activity::execute() for details.
|
|||
sub execute {
|
||||
my $self = shift;
|
||||
my $versionTag = shift;
|
||||
$versionTag->commit;
|
||||
return $self->COMPLETE;
|
||||
my $completion = $versionTag->commit({timeout=>55});
|
||||
if ($completion == 1) {
|
||||
return $self->COMPLETE;
|
||||
} elsif ($completion == 2) {
|
||||
return $self->WAITING;
|
||||
}
|
||||
return $self->ERROR;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue