From 20b1ad89ac66e442fe66ee683967cfb2e9c7dd17 Mon Sep 17 00:00:00 2001 From: qyx <565485304@qq.com> Date: Wed, 8 Sep 2021 20:39:40 +0800 Subject: [PATCH] =?UTF-8?q?[Bug=E4=BF=AE=E5=A4=8D](master):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BA=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. redis采用每个环境本地的 如果以后测试不要进行修改 application.yml,而是修改 application-dev.yml 进行覆盖 2. 修复tomcat最大缓冲区过小带来的报错 --- eladmin-system/src/main/resources/config/application.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eladmin-system/src/main/resources/config/application.yml b/eladmin-system/src/main/resources/config/application.yml index 6ececa7..f022f0c 100644 --- a/eladmin-system/src/main/resources/config/application.yml +++ b/eladmin-system/src/main/resources/config/application.yml @@ -1,6 +1,7 @@ server: port: 8000 - + # 解决 最大缓冲区不够的问题 + max-http-header-size: 8999 spring: freemarker: check-template-location: false @@ -24,12 +25,11 @@ spring: redis: #数据库索引 database: 0 - host: 118.178.137.129 - # port: 6379 + host: 127.0.0.1 + port: 6379 password: #连接超时时间 timeout: 5000 - open: false task: pool: # 核心线程池大小