-
-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Description
It is possible to set GoodJob.preserve_job_records = :on_unhandled_error so the jobs are persisted only when error occurs.
I find it buggy over time, as some of the jobs are preserved and some not.
On the development env it seems to work as intended, as all jobs without error are deleted, but on production-like systems, many jobs are not deleted.
Instead of figuring out why is that, I would recommend to deprecate that feature and later remove.
When it was introduced (yes that's me ;-) it was a solution for cleaning up.
But since now GJ deletes job periodically it doesn't really make sense any more.
Furthermore GJ has a rich "performance" tab and other statistics that are not fully used when using "on_unhandled_error" option.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Inbox