-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Change BustReactableCacheJob to BustReactableCacheWorker and move to sidekiq #5582
Change BustReactableCacheJob to BustReactableCacheWorker and move to sidekiq #5582
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @luchiago, thanks for this PR as well!
As reactions are an high frequency object and one of these is called in their after_save
, I think it should be split in two steps.
@rhymes Sure, I'll revert the commit and push the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @luchiago, I think after removing the parameter as @citizen428 suggested this can be ready for merging :)
@rhymes. Sure! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we need to make sure this method is done in an after_commit
block to ensure everything we need to bust the cache is in the database. cc @rhymes
Thanks for another great PR!!!!
Thanks for the updates @luchiago, we'll hopefully get around to merge this soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @luchiago, thanks for the changes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
What type of PR is this? (check all applicable)
Description
Related Tickets & Documents
#5305
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Added to documentation?