@@ -103,6 +103,17 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>io.lettuce</groupId>
+ <artifactId>lettuce-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>redis.clients</groupId>
+ <artifactId>jedis</artifactId>
</dependency>
@@ -38,12 +38,12 @@ spring:
password: chuanghai_2024.
database: 3
timeout: 5000
- lettuce:
- shutdown-timeout: 100
+ jedis:
pool:
- max-active: 3
- min-idle: 2
- max-idle: 3
+ enabled: true
+ max-active: 20
+ min-idle: 0
+ max-idle: 10
max-wait: -1
secure-api:
# 开启SecureApi功能,如果为false则其余配置项均不生效
password: ch_wm_redis_2025@.
# 接口数据加密