chore: fix tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Inboxes::FetchImapEmailInboxesJob < ApplicationJob
|
||||
queue_as :1_min_mailer
|
||||
queue_as :one_min_mailer
|
||||
|
||||
def perform
|
||||
Inbox.where(channel_type: 'Channel::Email').all.find_each(batch_size: 100) do |inbox|
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require 'net/imap'
|
||||
|
||||
class Inboxes::FetchImapEmailsJob < MutexApplicationJob
|
||||
queue_as :1_min_mailer
|
||||
queue_as :one_min_mailer
|
||||
|
||||
def perform(channel, interval = 1)
|
||||
return unless should_fetch_email?(channel)
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ trigger_imap_email_inboxes_job:
|
||||
remove_stale_contact_inboxes_job.rb:
|
||||
cron: '30 22 * * *'
|
||||
class: 'Internal::RemoveStaleContactInboxesJob'
|
||||
queue: 1_min_mailer
|
||||
queue: one_min_mailer
|
||||
|
||||
# executed daily at 2230 UTC
|
||||
# which is our lowest traffic time
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
- mailers
|
||||
- action_mailbox_routing
|
||||
- low
|
||||
- 1_min_mailer
|
||||
- one_min_mailer
|
||||
- async_database_migration
|
||||
- active_storage_analysis
|
||||
- active_storage_purge
|
||||
|
||||
Reference in New Issue
Block a user