|
@@ -49,15 +49,19 @@ spring:
|
|
|
enabled: true
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
rabbitmq:
|
|
|
- address: ${service.ip}:5672
|
|
|
- connection-timeout: 15000
|
|
|
+ host: ${service.ip}
|
|
|
+ port: 5672
|
|
|
+ username: guest
|
|
|
password: guest
|
|
|
+ virtual-host: 4dkankan
|
|
|
+ connection-timeout: 0
|
|
|
+ listener:
|
|
|
+ simple:
|
|
|
+ prefetch: 1
|
|
|
+ max-concurrency: 2
|
|
|
+ acknowledge-mode: manual #开启消费者手动确认
|
|
|
+ #开启消息投递确认机制
|
|
|
publisher-confirm-type: correlated
|
|
|
- publisher-returns: true
|
|
|
- template:
|
|
|
- mandatory: true
|
|
|
- username: guest
|
|
|
- virtual-host: /
|
|
|
redis:
|
|
|
database: 0
|
|
|
host: ${service.ip}
|
|
@@ -75,3 +79,22 @@ spring:
|
|
|
location: /mnt
|
|
|
tlog:
|
|
|
enable-invoke-time-print: true
|
|
|
+forest:
|
|
|
+ backend: okhttp3 # 后端HTTP框架(默认为 okhttp3)
|
|
|
+ max-connections: 1000 # 连接池最大连接数(默认为 500)
|
|
|
+ max-route-connections: 500 # 每个路由的最大连接数(默认为 500)
|
|
|
+ timeout: 50000 # 请求超时时间,单位为毫秒(默认为 3000)
|
|
|
+ connect-timeout: 20000 # 连接超时时间,单位为毫秒(默认为 timeout)
|
|
|
+ read-timeout: 50000 # 数据读取超时时间,单位为毫秒(默认为 timeout)
|
|
|
+ max-retry-count: 0 # 请求失败后重试次数(默认为 0 次不重试)
|
|
|
+ ssl-protocol: SSLv3 # 单向验证的HTTPS的默认SSL协议(默认为 SSLv3)
|
|
|
+ logEnabled: true # 打开或关闭日志(默认为 true)
|
|
|
+ log-request: true # 打开/关闭Forest请求日志(默认为 true)
|
|
|
+ log-response-status: true # 打开/关闭Forest响应状态日志(默认为 true)
|
|
|
+ log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false)
|
|
|
+ base-address-scheme: https
|
|
|
+ base-address-host: eur.4dkankan.com
|
|
|
+queue:
|
|
|
+ scene-queue: queue-pano-scene
|
|
|
+ do-slice-queue: queue-do-slice
|
|
|
+ relics-update-name-queue: relics-update-name-queue
|