Skip to content

Commit e410971

Browse files
committed
Trim retries to 1, 5 takes too long
1 parent c5e1970 commit e410971

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR';
1717

1818
const gotClient = got.extend({
1919
retry: {
20-
limit: 5,
20+
limit: 1,
2121
methods: [ 'POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
2222
},
2323
hooks: {

0 commit comments

Comments
 (0)