maragudk / goqite

Go queue library built on SQLite and inspired by AWS SQS.
https://maragudk.github.io/goqite/
MIT License
435 stars 13 forks source link

Feature request: Add options for job retention #51

Closed mikestefanello closed 5 months ago

mikestefanello commented 5 months ago

It would be nice if a given queue could be given one of three retention options, rather than automatically deleting the job once it's complete:

While the logs do provide some insight in to what's happening, having the ability to retain logs can be great for auditing and monitoring purposes. That could also provide the ability to have a dashboard of some sort, seeing how many jobs ran, how many completed, failed, etc. You could also consider storing the execution time of each job, which can be another helpful thing to audit.