Amazon API网关超时 [英] Amazon API gateway timeout
本文介绍了Amazon API网关超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对API网关有一些问题.我提出了一些API方法,有时它们的工作时间超过10秒,Amazon返回504错误.这是下面的屏幕截图:
I have some issue with API gateway. I made a few API methods, sometimes they work longer than 10 seconds and Amazon returns 504 error. Here is screenshot below:
请帮助!如何增加超时时间?
Please help! How can I increase timeout?
谢谢!
推荐答案
Right now the default limit for Lambda invocation or HTTP integration is 30s according to http://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html and this limit is not configurable.
这篇关于Amazon API网关超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文