Skip to content

Commit

Permalink
Expose retryable option
Browse files Browse the repository at this point in the history
  • Loading branch information
igoroctaviano committed Jun 3, 2021
1 parent 98fcabf commit d575e36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/core/src/utils/xhrRetryRequestHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ export const getXHRRetryRequestHook = (options = {}) => {
if ('randomize' in options) {
retryOptions.randomize = options.randomize;
}
if ('retryableStatusCodes' in options) {
retryOptions.retryableStatusCodes = options.retryableStatusCodes;
}
return xhrRetryRequestHook;
};

Expand Down

0 comments on commit d575e36

Please sign in to comment.