-
Notifications
You must be signed in to change notification settings - Fork 92
/
application.properties
46 lines (36 loc) · 1.25 KB
/
application.properties
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
# 总配置,每个环境都一样
# logging
logging.config=classpath:logback-roncoo.xml
# management
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=ALWAYS
# freemark
spring.freemarker.request-context-attribute=request
spring.freemarker.settings.number_format=0.##
# aop
spring.aop.auto=true
# jackson
spring.jackson.time-zone=Asia/Chongqing
# hystrix 设置超时时间
feign.hystrix.enabled=true
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=7220000
ribbon.ConnectTimeout=10000
ribbon.ReadTimeout=3600000
# cache
spring.cache.type=redis
spring.cache.redis.time-to-live=60000
spring.cache.redis.cache-null-values=false
# instance
eureka.instance.prefer-ip-address=true
# swagger
swagger.version=1.0.0.RELEASE
swagger.license=\u5e7f\u5dde\u5e02\u9886\u8bfe\u7f51\u7edc\u79d1\u6280\u6709\u9650\u516c\u53f8
swagger.licenseUrl=http://www.roncoo.net
swagger.termsOfServiceUrl=http://www.roncoo.net
swagger.contact.name=roncoo
swagger.contact.url=http://www.roncoo.net
# 上传文件
spring.servlet.multipart.max-file-size=1000MB
spring.servlet.multipart.max-request-size=1000MB
spring.servlet.multipart.file-size-threshold=10MB