Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Update popsicle-retry with exponential back-off
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Apr 4, 2016
1 parent afb27c1 commit e9eb1f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"parse-json": "^2.2.0",
"popsicle": "^5.0.0",
"popsicle-proxy-agent": "^1.0.0",
"popsicle-retry": "^1.0.1",
"popsicle-retry": "^2.0.0",
"popsicle-status": "^1.0.1",
"promise-finally": "^2.0.1",
"rc": "^1.1.5",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function readHttp (url: string): Promise<string> {
// Enable HTTP(s) proxies and environment variable support.
.use(popsicleProxy({ proxy, httpProxy, httpsProxy, noProxy }))
// Retry failed HTTP requests.
.use(popsicleRetry({ maxRetries: 3, retryDelay: 3000 }))
.use(popsicleRetry())
// Check responses are "200 OK".
.use(popsicleStatus(200))
// Request "middleware".
Expand Down

0 comments on commit e9eb1f2

Please sign in to comment.