Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Dealing with failed jobs #57

Open
Taronyuu opened this issue Nov 9, 2016 · 5 comments
Open

Dealing with failed jobs #57

Taronyuu opened this issue Nov 9, 2016 · 5 comments

Comments

@Taronyuu
Copy link

Taronyuu commented Nov 9, 2016

Because I was unable to find anything related to this. How does this package deal with failed jobs? Is there a way to set an amount of tries before the job is delete/ignored/moved to a failed jobs table or anything like that?

Thank you :)

@kevinreynolds
Copy link

I am curious as well.

@Cannonb4ll
Copy link

^ Im with these 2.

@barryvdh
Copy link
Owner

I don't think it does. Sames as for the sync queue, it just fails.

@frdteknikelektro
Copy link
Contributor

frdteknikelektro commented Jun 13, 2018

Sync Queue can dealing with failed jobs, and execute method fail() on job.

Async Queue can do that too, I make PR here #79. To make it execute fail() on failing job you need to define $tries property to 1 in your job class.

@frdteknikelektro
Copy link
Contributor

Thanks accepting my PR, I think we should close this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants