1 個回答
- 最新
- 最多得票
- 最多評論
0
Difficult to say without more information. What I would suggest is to had log messages in your function to check what is taking long time.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Difficult to say without more information. What I would suggest is to had log messages in your function to check what is taking long time.
Thanks for your comment. I have logs. Below are the steps of the execution.
It's not happening always. Once or twice a day. I assumed that it could be a request throttle due to concurrent requests or the RDS resource limit being exceeded, but nothing happened.
The network is not a 100% reliable medium. It could be that the API responded, but the response never got to the function. What I would recommend is to put a timeout on the API call and retry in case you do not get the answer in time.