wso2 api-manager 中的默认超时?如何增加呢?

default timeout in wso2 api-manager? how to increase it?

我在 wso2 api 管理器中创建了几个 API。我的后端服务有时会在 5-8 秒内响应,或者最多需要 50 秒。 wso2 apis 的默认超时是多少? 我检查了这个文件 - passthru-http.properties。 它具有以下内容:

## This file contains the configuration parameters used by the Pass-through HTTP transport
## Nhttp tuning parameters 
#http.socket.timeout=60000
#http.connection.timeout=0
#http.socket.buffer-size=8192
#http.socket.linger=-1
#http.nio.select-interval=1000
#http.tcp.nodelay=true
#http.connection.stalecheck=false
#http.socket.reuseaddr=false

如果我取消注释这一行 - http.socket.timeout=60000 ,默认超时会变成 60 秒吗?

如果我将默认超时增加到 60 秒,它们会对性能产生重大影响吗?

提前致谢!

有一篇文章显示需要编辑哪些内容才能增加 APIM 中的超时期限。

How to increase timeout

如果您的后端服务需要很多时间,建议先检查一下并稍微改进一下。