app/utils/service_client/middleware/retry.rb
def build_retry_queue(ctx)
        # Add also `self` to the queue, because we want the Retry
        # middleware to be in the retry queue.
        ctx.fetch(:enter_queue).dup + [self]
      end
# max_attempts is 1 by default, which means
# that the retry mechanism is disabled by default
#
max_attempts is 1 by default, which means
that the retry mechanism is disabled by default
max_attempts is 1 by default which means that the retry mechanism is disabled by default
def build_retry_queue(ctx)
        ctx.fetch(:enter_queue).dup + [self]
      end
def build_retry_queue ( ctx ) ctx . fetch ( :enter_queue ) . dup + [ self ] end
max_attempts is 1 by default, which means
that the retry mechanism is disabled by default
max_attempts is 1 by default which means that the retry mechanism is disabled by default
# Add also `self` to the queue, because we want the Retry # middleware to be in the retry queue.
ctx