lib/trailblazer/activity/circuit.rb in trailblazer-activity-0.11.0 vs lib/trailblazer/activity/circuit.rb in trailblazer-activity-0.11.2
- old
+ new
@@ -43,10 +43,10 @@
loop do
last_signal, args, _discarded_circuit_options = runner.(
task,
args,
- circuit_options
+ **circuit_options
)
# Stop execution of the circuit when we hit a stop event (< End). This could be an task's End or Suspend.
return [ last_signal, args ] if @stop_events.include?(task) # DISCUSS: return circuit_options here?