You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: