Finished job removal

by default the finished jobs are removed within a day. is there a way to increase the amount of days, or disable the automatic removal?

just found this How to configure the retention time of job?
that ProlongExpirationTimeAttribute did the trick. maybe it’s time for a HangfireContrib with filters like that.

1 Like

I was going to ask about this, thanks for asking the question and finding the answer.

And I’d go one step further than what you suggested: why not include this attribute as part of Hangfire.Core? Sounds like something fundamental enough to be kept right at the core of Hangfire.