Repository navigation
feat: implement mutex for SlackSendJob - #7783
Conversation
✅ Deploy Preview for chatwoot-storybook canceled.
|
SlackSendJob
sojan-official
left a comment
There was a problem hiding this comment.
Went through the code, and it looks good to me.
Let's merge it after testing.
|
@sojan-official tested this on staging. To replicate, try sending multiple messages really one after the other really fast.
Turns out it was some processing delay on sidekiq, @sojan-official is it because slack send job is on the The solution works fine. Here's the logs that show the whole dance for acquiring locks
|
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |





This PR implements redis based mutex for
SlackSendJobThis PR has the following changes
MutexApplicationJobthat exposeswith_lockfacebook_events_jobto use the newMutexApplicationJob