Skip to content

Commit 1bea82f

Browse files
Remove overlap middleware from exception jobs
1 parent ef06874 commit 1bea82f

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/Exception.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Illuminate\Support\Facades\Cache;
1414
use Throwable;
1515
use Workflow\Exceptions\TransitionNotFound;
16-
use Workflow\Middleware\WithoutOverlappingMiddleware;
1716
use Workflow\Models\StoredWorkflow;
1817
use Workflow\Models\StoredWorkflowLog;
1918
use Workflow\Serializers\Serializer;
@@ -82,14 +81,7 @@ public function handle()
8281

8382
public function middleware()
8483
{
85-
return [
86-
new WithoutOverlappingMiddleware(
87-
$this->storedWorkflow->id,
88-
WithoutOverlappingMiddleware::ACTIVITY,
89-
0,
90-
15
91-
),
92-
];
84+
return [];
9385
}
9486

9587
private function shouldPersistAfterProbeReplay(): bool

0 commit comments

Comments
 (0)