Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda function timeout #7

Open
andresriancho opened this issue Oct 29, 2019 · 1 comment
Open

Lambda function timeout #7

andresriancho opened this issue Oct 29, 2019 · 1 comment

Comments

@andresriancho
Copy link
Owner

context.get_remaining_time_in_millis() (documentation here can be used to get the remaining time in ms for the current context.

In some cases where there are MANY resources I found that the lambda function times out. Sadly this was found manually via CloudWatch Events logs. I would like to see these errors being reported to the admins.

@andresriancho
Copy link
Owner Author

The check should be implemented in a function, that function should email the admins if the remaining time is lower than 2 seconds. The check function should be called from:

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

No branches or pull requests

1 participant