mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-27 01:30:35 +01:00
Trim retries to 1, 5 takes too long
This commit is contained in:
parent
c5e19708da
commit
e4109712fa
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -12105,7 +12105,7 @@ var got$1 = got;
|
||||||
const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR';
|
const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR';
|
||||||
const gotClient = got$1.extend({
|
const gotClient = got$1.extend({
|
||||||
retry: {
|
retry: {
|
||||||
limit: 5,
|
limit: 1,
|
||||||
methods: ['POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE'],
|
methods: ['POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE'],
|
||||||
},
|
},
|
||||||
hooks: {
|
hooks: {
|
||||||
|
|
|
@ -17,7 +17,7 @@ const ENV_CACHE_DAEMONDIR = 'MAGIC_NIX_CACHE_DAEMONDIR';
|
||||||
|
|
||||||
const gotClient = got.extend({
|
const gotClient = got.extend({
|
||||||
retry: {
|
retry: {
|
||||||
limit: 5,
|
limit: 1,
|
||||||
methods: [ 'POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
|
methods: [ 'POST', 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
|
||||||
},
|
},
|
||||||
hooks: {
|
hooks: {
|
||||||
|
|
Loading…
Reference in a new issue