refix the hanging singleton workflow problem with spectre. Fixes bug #10189, again.
This commit is contained in:
parent
97ffe5187e
commit
adbec05e97
2 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
- fixed #11857: make page printable?
|
- fixed #11857: make page printable?
|
||||||
- fixed #11891: Shop credit not displayed in payment method screen
|
- fixed #11891: Shop credit not displayed in payment method screen
|
||||||
- fixed #11871: Metadata display and criteria builder problems
|
- fixed #11871: Metadata display and criteria builder problems
|
||||||
|
- fixed #10189: pbworkflow000000000007 Hanging
|
||||||
|
|
||||||
7.10.1
|
7.10.1
|
||||||
- fixed #11851: Story Topic: top story variables should be available all the time
|
- fixed #11851: Story Topic: top story variables should be available all the time
|
||||||
|
|
|
||||||
|
|
@ -308,6 +308,9 @@ sub www_runCronJob {
|
||||||
# Run the instance
|
# Run the instance
|
||||||
my $error = $instance->start( 1 );
|
my $error = $instance->start( 1 );
|
||||||
if ($error) {
|
if ($error) {
|
||||||
|
##Unable to communicate with spectre. Delete this instance to it does not get stuck.
|
||||||
|
$session->log->error("Unable to communicate with spectre: $error about taskId: $taskId. Deleting instanceId: ". $instance->getId);
|
||||||
|
$instance->delete();
|
||||||
return "error";
|
return "error";
|
||||||
}
|
}
|
||||||
$task->delete( 1 ) if ( $task->get("runOnce") );
|
$task->delete( 1 ) if ( $task->get("runOnce") );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue