MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / defaultRetryPolicy

Function defaultRetryPolicy

out/cli.cjs:76058–76066  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

76056 }
76057 }
76058 }
76059 };
76060}
76061
76062// node_modules/@azure/core-rest-pipeline/dist/esm/policies/defaultRetryPolicy.js
76063var defaultRetryPolicyName = "defaultRetryPolicy";
76064function defaultRetryPolicy(options = {}) {
76065 var _a5;
76066 return {
76067 name: defaultRetryPolicyName,
76068 sendRequest: retryPolicy([throttlingRetryStrategy(), exponentialRetryStrategy(options)], {
76069 maxRetries: (_a5 = options.maxRetries) !== null && _a5 !== void 0 ? _a5 : DEFAULT_RETRY_POLICY_COUNT

Callers 1

Calls 3

retryPolicyFunction · 0.85
throttlingRetryStrategyFunction · 0.85
exponentialRetryStrategyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…