Persist and expose via API the progress of the tables arrangement simulations #316

Merged
bustikiller merged 8 commits from arrangements-status into main 2025-09-16 00:39:40 +00:00
Showing only changes of commit 0502bc4552 - Show all commits

View File

@ -8,7 +8,7 @@ class TableSimulatorJob < ApplicationJob
MIN_PER_TABLE = 8
MAX_PER_TABLE = 10
def perform(wedding_id, tables_arrangement_id)
def perform(wedding_id, tables_arrangement_id) # rubocop:disable Metrics/MethodLength
Rails.logger.info "Starting table simulation #{tables_arrangement_id} for wedding #{wedding_id}"
ActsAsTenant.with_tenant(Wedding.find(wedding_id)) do
engine = VNS::Engine.new