1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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
関連するコンテンツ
- AWS公式更新しました 3ヶ月前
- AWS公式更新しました 3ヶ月前