繁体   English   中英

wso2 api-manager中的默认超时? 怎么增加呢?

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

我在wso2 api管理器中创建了一些API。 我的后端服务有时会在5到8秒内响应,或者最多需要50秒。 wso2 API的默认超时是多少? 我检查了这个文件-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中的超时时间。

如何增加超时

如果您的后端服务花费很多时间,建议先检查一下并进行一些改进。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM