mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix(AWS Deploy): Fix resolution of SLS_AWS_REQUEST_MAX_RETRIES setting
This commit is contained in:
parent
ade0b3a25c
commit
4d1b3b571d
@ -22,7 +22,7 @@ const constants = {
|
||||
|
||||
PromiseQueue.configure(BbPromise.Promise);
|
||||
|
||||
const MAX_RETRIES = Math.min(Number(process.env.SLS_AWS_REQUEST_MAX_RETRIES), 0) || 4;
|
||||
const MAX_RETRIES = Math.max(Number(process.env.SLS_AWS_REQUEST_MAX_RETRIES), 0) || 4;
|
||||
|
||||
const impl = {
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user