1 Star 0 Fork 41

何年何念 / online-exam-config

forked from GuYiTan / online-exam-config 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
application-dev.yml 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
何年何念 提交于 2019-03-25 16:17 . 更新 application-dev.yml
# 加密配置
jasypt:
encryptor:
password: exam
server:
tomcat:
max-threads: 500 # Maximum amount of worker threads.
min-spare-threads: 50 # Minimum amount of worker threads
uri-encoding: UTF-8
spring:
redis:
remote: false #cachecloud 获取
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
password:123456
rabbitmq:
host: ${RABBIT_MQ_HOST:127.0.0.1}
port: ${RABBIT_MQ_PORT:5672}
username: ${RABBIT_MQ_USERNAME:guest}
password: ${RABBIT_MQ_PASSWORD:guest}
http:
multipart:
max-file-size: 20MB
max-request-size: 20MB
encoding:
charset: utf-8
force: true
enabled: true
redis:
cache:
expiration: 3601
ribbon:
eager-load:
enabled: true
clients: online-exam-auth,online-exam-user,online-exam-exam
Httpclient:
enabled: false
OkHttp:
enabled: true
ReadTimeout: 30000
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
# 监控端点配置
management:
security:
enabled: false
endpoints:
actuator:
enabled: true
shutdown:
enabled: false
logging:
level:
com.github: debug
1
https://gitee.com/LionHe/online-exam-config.git
git@gitee.com:LionHe/online-exam-config.git
LionHe
online-exam-config
online-exam-config
master

搜索帮助