diff --git a/dist/index.js b/dist/index.js index e54c5f7..79b0b10 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12105,7 +12105,7 @@ var got$1 = got; const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR'; const gotClient = got$1.extend({ retry: { - limit: 5, + limit: 1, methods: ['POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE'], }, hooks: { diff --git a/src/index.ts b/src/index.ts index 2ea291e..fce7712 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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: {