Does Hangfire clear down old job data?

I assume that Hangfire clears down these tables once a job has been Succeeded or jobs that have been Deleted?

If so what are the conditions that trigger it? I have been playing with Hangfire and have a lot of completed jobs in the DB which have not been deleted. I have searched the source and not been able to answer my question.

SqlServerJobStorage has its own ExpirationManager that it runs each hour.

@hometoast perfect thanks, that’s what I was looking for

Link added for brevity: