From 3dbee477f192f19720a119d128191849abf93f43 Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Sun, 10 Aug 2025 14:51:56 +0300 Subject: [PATCH] Enhance the Max Exceptions code --- queues.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/queues.md b/queues.md index 96bb429706..92eaf35a3c 100644 --- a/queues.md +++ b/queues.md @@ -1313,10 +1313,14 @@ Sometimes you may wish to specify that a job may be attempted many times, but sh namespace App\Jobs; +use Illuminate\Contracts\Queue\ShouldQueue; +use Illuminate\Foundation\Queue\Queueable; use Illuminate\Support\Facades\Redis; class ProcessPodcast implements ShouldQueue { + use Queueable; + /** * The number of times the job may be attempted. *