Wednesday, July 15, 2026 2:14:06 AM
> sync_command_configurations_job.rb
# frozen_string_literal: true

class SyncCommandConfigurationsJob
  include ::SuckerPunch::Job

  def perform(_)
    ESM::Database.with_connection do
      community_ids = ESM::Community.all.pluck(:id)

      community_ids.each do |community_id|
        SyncCommandConfigurationsForCommunityJob.perform_async(community_id, ESM::Command.configurations)
      end
    end
  end
end
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7