Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Lower Timeout #3

Closed
frumania opened this issue Jul 16, 2020 · 1 comment
Closed

Lower Timeout #3

frumania opened this issue Jul 16, 2020 · 1 comment

Comments

@frumania
Copy link
Contributor

frumania commented Jul 16, 2020

Can you kindly lower the default lambda timeout to e.g. 1 min? Especially when dealing with Lambda private connectivity and related troubleshooting the turnaround times are high (especially for beginners it would simplify it).

timeout: cdk.Duration.seconds(300) -> timeout: cdk.Duration.seconds(60)

@kumarrk21
Copy link
Contributor

I am leaving it as is to support broader use cases. Once you clone the repo, you can do either of these two

  1. Implement a quicker timeout in the extractor.py where the requests library is used to issue a 'ge't command (line no. 195) - https://requests.readthedocs.io/en/master/user/quickstart/

  2. Change it the lib/aws-sap-odp-stack.js file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants