1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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.
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 2 años
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.