Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-config
Commits
dd12c36a
Commit
dd12c36a
authored
Sep 10, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
99785ec7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
0 deletions
+107
-0
application-dev.yml
+107
-0
No files found.
application-dev.yml
0 → 100644
View file @
dd12c36a
#加密配置
jasypt
:
encryptor
:
password
:
techhero
spring
:
redis
:
remote
:
false
#cachecloud 获取
host
:
192.168.0.252
hostName
:
192.168.0.252
#183.95.190.112
port
:
6379
password
:
123456
timeout
:
0
pool
:
max-active
:
8
max-wait
:
-1
max-idle
:
8
min-idle
:
0
rabbitmq
:
host
:
119.96.87.17
port
:
5672
username
:
rabbit
password
:
rabbit-techhero
listener
:
simple
:
acknowledge-mode
:
manual
retry
:
enabled
:
true
max-attempts
:
5
#消息确认配置项
#确认消息已发送到交换机(Exchange)
publisher-confirms
:
true
#确认消息已发送到队列(Queue)
publisher-returns
:
true
cache
:
redis
:
expires
:
entity:30;account:30;
ribbon
:
eureka
:
enabled
:
true
eager-load
:
enabled
:
true
clients
:
techhero-auth,techhero-base-supportplatform,techhero-project-emergencycommand,techhero-project-visualization,techhero-permission,techhero-base-basicdata,techhero-preventioncheat,techhero-component-websocket,techhero-component-message,techhero-component-workflow
Httpclient
:
enabled
:
false
OkHttp
:
enabled
:
true
ReadTimeout
:
10000
ConnectTimeout
:
10000
feign
:
hystrix
:
enabled
:
true
okhttp
:
enabled
:
true
httpclient
:
enabled
:
false
client
:
config
:
feignName
:
connectTimeout
:
10000
readTimeout
:
10000
compression
:
request
:
enabled
:
true
response
:
enabled
:
true
hystrix
:
threadpool
:
default
:
coreSize
:
10
maxQueueSize
:
1000
queueSizeRejectionThreshold
:
800
circuitBreaker
:
requestVolumeThreshold
:
100
#熔断失败个数 超过既发生短路 默认20个
command
:
default
:
execution
:
isolation
:
thread
:
timeoutInMilliseconds
:
40000
fallback
:
isolation
:
semaphore
:
maxConcurrentRequests
:
50
#回退线程数量
tomcat
:
max-connections
:
500
max-threads
:
30
min-spare-threads
:
3
accept-count
:
10
# 关闭安全管理
management
:
security
:
enabled
:
false
endpoints
:
web
:
exposure
:
include
:
'
*'
endpoint
:
health
:
show-details
:
ALWAYS
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment