From baf321d4d6eeb9f7f74226df8bcfff11a6fd0a7c Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 28 Feb 2026 17:51:31 -0500 Subject: [PATCH] Fix: Update retry_on configuration to specify wait time for error handling --- app/jobs/bill_issue_time_job.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/bill_issue_time_job.rb b/app/jobs/bill_issue_time_job.rb index c3e3eee..349782c 100644 --- a/app/jobs/bill_issue_time_job.rb +++ b/app/jobs/bill_issue_time_job.rb @@ -10,6 +10,7 @@ class BillIssueTimeJob < ActiveJob::Base queue_as :default + retry_on StandardError, wait: 5.minutes, attempts: 5 # Perform billing of unbilled time entries for a given issue by creating corresponding TimeActivity records in QuickBooks Online, and then marking those entries as billed in Redmine. This job is typically triggered after an invoice is created or updated to ensure all relevant time is captured for billing. def perform(issue_id)