Merge pull request #103 from Code-Nose/feature_redis

去除Redis部分无效配置与依赖
This commit is contained in:
zongzibinbin
2023-07-16 01:30:21 +08:00
committed by GitHub
2 changed files with 0 additions and 14 deletions

View File

@@ -91,10 +91,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>

View File

@@ -39,16 +39,6 @@ spring:
timeout: 1800000
# 设置密码
password: ${mallchat.redis.password}
lettuce:
pool:
# 最大阻塞等待时间,负数表示没有限制
max-wait: -1
# 连接池中的最大空闲连接
max-idle: 5
# 连接池中的最小空闲连接
min-idle: 0
# 连接池中最大连接数,负数表示没有限制
max-active: 20
jackson:
serialization:
write-dates-as-timestamps: true