【问题标题】:default timeout in wso2 api-manager? how to increase it?wso2 api-manager中的默认超时?怎么增加呢?
【发布时间】: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 秒,它们会对性能产生重大影响吗?

提前致谢!

【问题讨论】:

    标签: timeout wso2 wso2-am


    【解决方案1】:

    有一篇文章显示了需要编辑哪些内容以增加 APIM 中的超时时间。

    How to increase timeout

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-13
      • 1970-01-01
      • 1970-01-01
      • 2018-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-26
      相关资源
      最近更新 更多