From e4109712fa5499656bb16076542f970c7b16a197 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 4 Dec 2023 20:12:12 -0500 Subject: [PATCH] Trim retries to 1, 5 takes too long --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: {