-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Any way to manually clear/reset the changelog history? #568
Comments
That's a great suggestion! I'll make that happen for the next release. |
It will be released with the next version @summera |
https://github.com/mhenrixon/sidekiq-unique-jobs/releases/tag/v7.0.1 also makes the reaper start, I added tests for this to avoid such problems in the future. You should have a |
@mhenrixon that was fast! Thanks a lot. I see that in #570, the config.death_handlers << lambda do |job, _ex|
digest = job["lock_digest"]
SidekiqUniqueJobs::Digests.new.delete_by_digest(digest) if digest
end Is that no longer necessary if you are not running the reaper? I did notice during my testing that when I raised an exception in a job, |
@summera If you follow the instructions and run Seems like a waste to leave it up to the user when it can be avoided. |
Agree, thanks 👍 |
Is your feature request related to a problem? Please describe.
While initially setting this up, I had changelog enabled. I then disabled the changelog by setting
max_history
tonil
since I didn't need it anymore, but the old entries remained.Describe the solution you'd like
It would be nice to have a command to run in the console or a button in the UI to clear the changelog history.
The text was updated successfully, but these errors were encountered: