【发布时间】:2016-06-03 14:09:36
【问题描述】:
我在 wso2 api manager 中创建了几个 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 秒,它们会对性能产生重大影响吗?
提前致谢!
【问题讨论】: