AWS Thinkbox Discussion Forums

Thoughts on adding an OnJobPurged event?

I’ve been toying with the idea that it might be interesting to add an additional event that would be emitted when a job was about to be purged from the database. This would allow custom code to perform low-priority, time-insensitive cleanup or housekeeping operations for a given job. Of course, there are already a lot of events flying around, so this request might be a beneficial precursor.

Any thoughts?

Thanks

Would this still be necessary with an async job event plugin system? Since the OnJobDeleted event would now happen asynchronously, you could have it do these low-priority operations.

No, I guess it probably isnt worth considering if the async event system is in the pipe already.

Privacy | Site terms | Cookie preferences