chore: Reorganize Sidekiq Queues (#6976)

- Rearrange and reprioritize current sidekiq queues
- Trim the unnecessary queues

ref: https://linear.app/chatwoot/issue/CW-1480/chore-run-all-sidekiq-jobs-async
This commit is contained in:
Sojan Jose
2023-05-04 15:44:16 +05:30
committed by GitHub
parent b081fe08b8
commit 85e57c2e94
23 changed files with 38 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
class AgentBots::CsmlJob < ApplicationJob
queue_as :bots
queue_as :high
def perform(event, agent_bot, message)
event_data = { message: message }

View File

@@ -1,3 +1,3 @@
class AgentBots::WebhookJob < WebhookJob
queue_as :bots
queue_as :high
end