@zeit/fetch-retry
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -6,4 +6,4 @@ const retry = require('async-retry'); | ||
const MIN_TIMEOUT = 10; | ||
const MAX_RETRIES = 3; | ||
const FACTOR = 5; | ||
const MAX_RETRIES = 5; | ||
const FACTOR = 6; | ||
@@ -19,3 +19,4 @@ module.exports = setup; | ||
const retryOpts = Object.assign({ | ||
// timeouts will be [ 10, 50, 250 ] | ||
// timeouts will be [10, 60, 360, 2160, 12960] | ||
// (before randomization is added) | ||
minTimeout: MIN_TIMEOUT, | ||
@@ -22,0 +23,0 @@ retries: MAX_RETRIES, |
{ | ||
"name": "@zeit/fetch-retry", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"license": "MIT", | ||
@@ -13,3 +13,3 @@ "devDependencies": { | ||
"dependencies": { | ||
"async-retry": "^1.1.3", | ||
"async-retry": "^1.3.1", | ||
"debug": "^3.1.0" | ||
@@ -16,0 +16,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7391
119
6
Updatedasync-retry@^1.3.1