1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hi,
Increasing max execution time at PHP level won't solve your problem. Your current timeout comes from API Gateway: after 30s, it declares your PHP script unresponsive and returns a timeout to the user.
See https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html
Maximum integration timeout 30 seconds No
So, your script must respond in less than 30s to avoid this timeout response.
If you can't reduce processing time, you have to change your implementation a bit: run the script in the first request, which return a request id. and then have additional poll requests (initiated by client) supplying the request id to check if completed.
Best,
Didier
Contenido relevante
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace 8 meses