-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication-dev.yml
80 lines (78 loc) · 1.6 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
eureka:
client:
service-url:
defaultZone: http://localhost: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/panda?useUnicode=true&characterEncoding=UTF8&useSSL=false&autoReconnect=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: 458525wag
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: 192.168.1.10
port: 6379
password: PG7iBXyQ
database: 9
rabbitmq:
host: 192.168.1.10
port: 5672
username: admin
password: admin123
http:
multipart:
max-file-size: 1000MB
max-request-size: 1000MB
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