fix: migration script to run on all reporting events (#6590)
* fix: migration script to run on all reporting events * fix: don't update user_id if it is already present * refactor: create a new migration * feat: update schema * feat: ignore events with bot handoff * feat: prefetch conversations with handoff events * Revert "feat: update schema" This reverts commit 25ed2856e62655f5f1db14fd0cffad3a69d0b1fb. * feat: update schema * refactor: separate method get_conversations_with_bot_handoffs * refactor: cognitive complexity * refactor: early return if last_bot_reply is blank * feat: add async_database_migration queue * feat: update queue priority
This commit is contained in:
@@ -12,19 +12,20 @@
|
||||
# even put in dynamic logic, like a host-specific queue.
|
||||
# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
|
||||
:queues:
|
||||
- [low, 1]
|
||||
- [scheduled_jobs, 1]
|
||||
- [webhooks, 1]
|
||||
- [bots, 1]
|
||||
- [active_storage_analysis, 1]
|
||||
- [action_mailbox_incineration, 1]
|
||||
- [active_storage_purge, 1]
|
||||
- [integrations, 2]
|
||||
- [default, 2]
|
||||
- [mailers, 2]
|
||||
- [medium, 3]
|
||||
- [events, 3]
|
||||
- [action_mailbox_routing, 3]
|
||||
- [async_database_migration, 1]
|
||||
- [low, 2]
|
||||
- [scheduled_jobs, 2]
|
||||
- [webhooks, 2]
|
||||
- [bots, 2]
|
||||
- [active_storage_analysis, 2]
|
||||
- [action_mailbox_incineration, 2]
|
||||
- [active_storage_purge, 2]
|
||||
- [integrations, 3]
|
||||
- [default, 3]
|
||||
- [mailers, 3]
|
||||
- [medium, 4]
|
||||
- [events, 4]
|
||||
- [action_mailbox_routing, 4]
|
||||
- [high, 5]
|
||||
- [critical, 10]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user