Closed ttilberg closed 1 year ago
Hi, this should be coming soon, stay tuned
I have a skeleton implementation on my local branch, this will respect the following options: retries: the number of retries before failing permanently, default is 5 retries retry_delay: delay before the job is attempted again, default is 60 seconds retry_delay_factor: exponential growth factor for the delay, default is 10, i.e. 60 then 600, then 6000 seconds
At the moment jobs that fail permanently are just logged (you can set the logger to filename destination in options) and are gone forever from the database. This can of course be changed later.
Would like to get your feedback and if you think there are any glaring omissions (besides the job being lost after failures are exhausted)
The new version implements a retry mechanism, more details available in the Litejob guide
I look forward to implementation of job retries.