chore: move UpdateMessageStatus to deferred queue (#11943)
- move `UpdateMessageStatus` to `deferred` queue below `scheduled_jobs` --------- Co-authored-by: Pranav <pranav@chatwoot.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ RSpec.describe Conversations::UpdateMessageStatusJob do
|
||||
it 'enqueues the job' do
|
||||
expect { job }.to have_enqueued_job(described_class)
|
||||
.with(conversation.id, conversation.contact_last_seen_at, :read)
|
||||
.on_queue('low')
|
||||
.on_queue('deferred')
|
||||
end
|
||||
|
||||
context 'when called' do
|
||||
|
||||
Reference in New Issue
Block a user