app/utils/service_client/middleware/retry.rb
# 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 enter(ctx)
        attempts = ctx[:req][:attempts] || 0
        ctx[:req][:attempts] = attempts + 1
        ctx[:retry_queue] = build_retry_queue(ctx)
        ctx
      end
def enter ( ctx ) attempts = ctx [ :req ] [ :attempts ] || 0 ctx [ :req ] [ :attempts ] = attempts + 1 ctx [ :retry_queue ] = build_retry_queue ( ctx ) ctx 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
ctx