Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] removeOnComplete/Failed based on time #2265

Closed
manast opened this issue Jan 20, 2022 · 2 comments · Fixed by #2275
Closed

[Feature] removeOnComplete/Failed based on time #2265

manast opened this issue Jan 20, 2022 · 2 comments · Fixed by #2275
Labels

Comments

@manast
Copy link
Member

manast commented Jan 20, 2022

It is often the case that you want to keep completed jobs but just up until a given date instead of a fixed number of them. Since the completed/finished jobs are currently stored in a zset sorted by timestamp, removing older jobs is quite straightforward.

We would possibly also want to be able to mix both total max with "up to a date", so that we can get both behaviours at the same time if wanted

@manast
Copy link
Member Author

manast commented Jan 20, 2022

This is actually a duplicate of this feature: #854

@manast
Copy link
Member Author

manast commented Jan 26, 2022

🎉 This issue has been resolved in version 4.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant