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:
Vishnu Narayanan
2025-07-16 08:19:00 +05:30
committed by GitHub
parent 61d10044a0
commit 6b8dd3c86a
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class Conversations::UpdateMessageStatusJob < ApplicationJob
queue_as :low
queue_as :deferred
# This job only support marking messages as read or delivered, update this array if we want to support more statuses
VALID_STATUSES = %w[read delivered].freeze