Skip to content

Commit

Permalink
fix: default lambda timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jul 28, 2022
1 parent a9078df commit ad217e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const DEFAULT_LAMBDA_RUNTIME = 'nodejs14.x'
// https://docs.aws.amazon.com/lambda/latest/dg/limits.html
export const DEFAULT_LAMBDA_MEMORY_SIZE = 1024
// default function timeout in seconds
export const DEFAULT_LAMBDA_TIMEOUT = 900 // 15 min
export const DEFAULT_LAMBDA_TIMEOUT = 6 // 6 seconds

// timeout for all connections to be closed
export const SERVER_SHUTDOWN_TIMEOUT = 5000
Expand Down

0 comments on commit ad217e2

Please sign in to comment.