Skip to content

Commit 01d2f80

Browse files
committed
Fix cops
1 parent 8f5e42b commit 01d2f80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/models/solid_queue/claimed_execution.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def release_all
3939
def fail_all_with(error, reraise: true)
4040
SolidQueue.instrument(:fail_many_claimed) do |payload|
4141
includes(:job).tap do |executions|
42-
executions.each { |execution| execution.failed_with(error, reraise:) }
42+
executions.each { |execution| execution.failed_with(error, reraise: reraise) }
4343

4444
payload[:process_ids] = executions.map(&:process_id).uniq
4545
payload[:job_ids] = executions.map(&:job_id).uniq

app/models/solid_queue/process/executor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Executor
1313

1414
def fail_all_claimed_executions_with(error, reraise: true)
1515
if claims_executions?
16-
claimed_executions.fail_all_with(error, reraise:)
16+
claimed_executions.fail_all_with(error, reraise: reraise)
1717
end
1818
end
1919

0 commit comments

Comments
 (0)