diff --git a/app/Services/Bank/BankMatchingService.php b/app/Services/Bank/BankMatchingService.php index b6d408a7c1..9cd6bb26a6 100644 --- a/app/Services/Bank/BankMatchingService.php +++ b/app/Services/Bank/BankMatchingService.php @@ -50,7 +50,7 @@ class BankMatchingService implements ShouldQueue public function middleware() { - return [(new WithoutOverlapping($this->db."_".$this->company_id))->releaseAfter(60)]; + return [(new WithoutOverlapping($this->db."_".$this->company_id))->releaseAfter(60)->expireAfter(60)]; } public function failed($exception = null)