-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication-dev.yml
92 lines (85 loc) · 1.75 KB
/
application-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
eureka:
client:
service-url:
defaultZone: http://172.31.10.31:8761/eureka/
server:
tomcat:
max-threads: 500 # Maximum amount of worker threads.
min-spare-threads: 50 # Minimum amount of worker threads
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/cloud?useUnicode=true&characterEncoding=UTF8&useSSL=false&autoReconnect=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: Yc*PFYoB8H
max-idle: 10
min-idle: 5
test-on-borrow: false
time-between-eviction-runs-millis: 18800
test-while-idle: true
validation-query: SELECT 1
hikari:
minimum-idle: 0
redis:
host: 172.31.10.212
port: 6379
password: INtIgnU9IAyq!$MpDNpS
rabbitmq:
host: 127.0.0.1
port: 5672
username: admin
password: 123456
http:
multipart:
max-file-size: 1000MB
max-request-size: 1000MB
zipkin:
base-url: http://172.31.10.31:5001
redis:
cache:
expiration: 3601
ribbon:
eager-load:
enabled: true
clients: panda-auth,panda-user-service
Httpclient:
enabled: true
OkHttp:
enabled: false
ReadTimeout: 10000
ConnectTimeout: 10000
feign:
hystrix:
enabled: true
okhttp:
enabled: false
httpclient:
enabled: true
client:
config:
feignName:
connectTimeout: 30000
readTimeout: 30000
compression:
request:
enabled: true
response:
enabled: true
hystrix:
threadpool:
default:
coreSize: 500
maxQueueSize: 1000
queueSizeRejectionThreshold: 800
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000
#关闭验证
management:
metrics:
web:
server:
auto-time-requests: false