[Bug修复](master): 修复了配置

1. redis采用每个环境本地的
 如果以后测试不要进行修改 application.yml,而是修改 application-dev.yml 进行覆盖
2. 修复tomcat最大缓冲区过小带来的报错
master
土豆兄弟 3 years ago
parent eda5af46d8
commit 20b1ad89ac

@ -1,6 +1,7 @@
server: server:
port: 8000 port: 8000
# 解决 最大缓冲区不够的问题
max-http-header-size: 8999
spring: spring:
freemarker: freemarker:
check-template-location: false check-template-location: false
@ -24,12 +25,11 @@ spring:
redis: redis:
#数据库索引 #数据库索引
database: 0 database: 0
host: 118.178.137.129 host: 127.0.0.1
# port: 6379 port: 6379
password: password:
#连接超时时间 #连接超时时间
timeout: 5000 timeout: 5000
open: false
task: task:
pool: pool:
# 核心线程池大小 # 核心线程池大小

Loading…
Cancel
Save