Succeeded Job Queue is not being cleared

sql-server
Tags: #<Tag:0x00007f499f55ff38>

#1

My succeeded job queue is at almost 5 million. I set the JobExpirationTimeout to 4 days but I still have jobs from almost a year ago which are not being removed.

Is there some other property I should be looking at? The Deleted queue is being cleared out properly.

What is the best way to immediately remove the succeeded jobs? Can I just delete from the job table where the statename = ‘Succeeded’?

I am running the latest version of hang fire.


#2

I’m having the same issue. My succeeded job queue is at 5 million. Why isn’t it clearing out? There is nothing I’ve done to customize this that I’m aware of. I’m using the Hangfire Pro with Redis.

Thanks,