4 ms·
Lambdas have a timeout, which defaults to 3 seconds.
by chuckadams 2y ago
Lambdas have a timeout, which defaults to 3 seconds.
- OJFord 2y agoAnd maxes at 30s (if apigw triggered), GP's point totally valid.
- coredog64 2y agoUsed to be a hard quota of 29 seconds for APIGW, but within the last month AWS has updated that to a soft quota. You will have to trade off concurrent calls for the longer APIGW timeout though.
- datashaman 2y agoUse ALB - no limitations on request time.
- chuckadams 2y agoWell, the point is you want a short timeout if your lambda is hanging and you're being billed by the second. If you're not setting it explicitly when you deploy, you're more or less writing Amazon a blank check.