Skip to content

Commit

Permalink
Trim retries to 1, 5 takes too long
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Dec 5, 2023
1 parent c5e1970 commit e410971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR';

const gotClient = got.extend({
retry: {
limit: 5,
limit: 1,
methods: [ 'POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
},
hooks: {
Expand Down

0 comments on commit e410971

Please sign in to comment.