Updated

app/jobs/apps/chatwoot/connection / refresh_job.rb

A
11 lines of codes
1 methods
4.7 complexity/method
2 churn
4.71 complexity
0 duplications
# frozen_string_literal: true class Apps::Chatwoot::Connection::RefreshJob < ApplicationJob
  1. Apps::Chatwoot::Connection::RefreshJob has no descriptive comment
self.queue_adapter = :good_job def perform
  1. Apps::Chatwoot::Connection::RefreshJob#perform doesn't depend on instance state (maybe move it to another class?)
Apps::Chatwoot.active.find_each do |chatwoot_app| Apps::Chatwoot::Connection::Refresh.new(chatwoot_app).call end end end