Open
Description
Describe the bug
Setting the timeout on Lambda
doesn't have any effect if it's shorter than the connection timeout set by the HTTPClient
. In other cases this makes sense, but since a Lambda doesn't respond until it's complete it hits the connection timeout, which is unexpected.
To Reproduce
Steps to reproduce the behavior:
- Create Lambda client
Lambda(...timeout: .seconds(300))
- Invoke long running lambda function
It hits HTTPClientError.readTimeout
at the default connectionTimeout of 90 seconds.
Metadata
Metadata
Assignees
Labels
No labels