Method: LabClient::ClientHelpers#should_retry?

Defined in:
lib/labclient/client/helpers.rb

#should_retry?Boolean

Handle Retry Logic

  1. If response merits a retry

  2. Retry is enabled

  3. Retry Sleep Max isn’t hit



112
113
114
# File 'lib/labclient/client/helpers.rb', line 112

def should_retry?
  resp.retry? && settings[:retry] && !retry_max?
end