Skip to content

Commit

Permalink
添加配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongEr committed Sep 30, 2018
1 parent 652dd67 commit 8bb5740
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4 deletions.
66 changes: 66 additions & 0 deletions application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
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:
redis:
host: 127.0.0.1
port: 6379
password:
rabbitmq:
host: 127.0.0.1
port: 5672
username: guest
password: guest
http:
multipart:
max-file-size: 1000MB
max-request-size: 1000MB
redis:
cache:
expiration: 3601
ribbon:
eager-load:
enabled: true
clients: pig-auth,pig-upms-service
Httpclient:
enabled: false
OkHttp:
enabled: true
ReadTimeout: 10000
ConnectTimeout: 10000

feign:
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
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
2 changes: 0 additions & 2 deletions foo-dev.properties

This file was deleted.

2 changes: 0 additions & 2 deletions foo.properties

This file was deleted.

0 comments on commit 8bb5740

Please sign in to comment.