michaelnguyen547
9 months ago

retry dispatching job

Posted 9 months ago by michaelnguyen547

I am running issues with Redis Server randomly cannot connect when I dispatch a job. Is there a way to attempt to dispatching job 3 times for example.

// This job is sent to the default queue...
Job::dispatch();
// when Redis server is not responsive, no job will be queued. I would like to re-try dispatch at least 3 times

Please sign in or create an account to participate in this conversation.