This is an automated email from the ASF dual-hosted git repository.
qicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new d998717 [type: refactor] add http client in yaml (#2978)
d998717 is described below
commit d9987171547beed57cfd8afee301be2750f4c9ba
Author: xiaoyu <[email protected]>
AuthorDate: Fri Mar 4 18:47:44 2022 +0800
[type: refactor] add http client in yaml (#2978)
* [type: refactor] add http client in yaml
* [type: refactor] add http client in yaml
* [type: refactor] add http client in yaml
---
.../src/main/resources/application.yml | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/shenyu-bootstrap/src/main/resources/application.yml
b/shenyu-bootstrap/src/main/resources/application.yml
index b3b1a4c..6a57d95 100644
--- a/shenyu-bootstrap/src/main/resources/application.yml
+++ b/shenyu-bootstrap/src/main/resources/application.yml
@@ -86,6 +86,41 @@ shenyu:
writeSpinCount: 16
autoRead: true
allocType: "pooled"
+ # httpclient:
+ # strategy: webClient
+ # connectTimeout: 45000
+ # responseTimeout: 3000
+ # readerIdleTime: 3000
+ # writerIdleTime: 3000
+ # allIdleTime: 3000
+ # readTimeout: 3000
+ # writeTimeout: 3000
+ # wiretap: false
+ # keepAlive: false
+ # pool:
+ # type: ELASTIC
+ # name: proxy
+ # maxConnections: 16
+ # acquireTimeout: 45000
+ # maxIdleTime: 3000
+ # proxy:
+ # host:
+ # port:
+ # username:
+ # password:
+ # nonProxyHostsPattern:
+ # ssl:
+ # useInsecureTrustManager: true
+ # keyStoreType: PKCS12
+ # keyStorePath: classpath:keystore.p12
+ # keyStorePassword: 123456
+ # keyStoreProvider:
+ # keyPassword: 123456
+ # trustedX509Certificates:
+ # handshakeTimeout:
+ # closeNotifyFlushTimeout:
+ # closeNotifyReadTimeout:
+ # defaultConfigurationType:
instance:
enabled: false
registerType: zookeeper #etcd #consul