a4ee8ee239
Fixes: #1583
9 lines
267 B
Ruby
9 lines
267 B
Ruby
class Account::ConversationsResolutionSchedulerJob < ApplicationJob
|
|
queue_as :scheduled_jobs
|
|
|
|
def perform
|
|
Account.where.not(auto_resolve_duration: nil).all.each do |account|
|
|
Conversations::ResolutionJob.perform_later(account: account)
|
|
end
|
|
end
|
|
end
|