Compare commits

..

No commits in common. "0366ab6a673b99bd1d8579812dc730a9c01464d6" and "da06586d275a701a0e09bf261aa020114623f98e" have entirely different histories.

2 changed files with 6 additions and 13 deletions

10
pom.xml
View File

@ -56,11 +56,11 @@
<artifactId>lettuce-core</artifactId> <artifactId>lettuce-core</artifactId>
<version>6.2.4.RELEASE</version> <version>6.2.4.RELEASE</version>
</dependency>--> </dependency>-->
<dependency> <!-- <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId> <artifactId>commons-pool2</artifactId>
<version>2.12.0</version> <!-- 建议使用最新稳定版本 --> <version>2.12.0</version> &lt;!&ndash; 建议使用最新稳定版本 &ndash;&gt;
</dependency> </dependency>-->
<!-- <dependency>--> <!-- <dependency>-->
<!-- <groupId>mysql</groupId>--> <!-- <groupId>mysql</groupId>-->
@ -190,11 +190,11 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId> <artifactId>spring-boot-starter-data-redis</artifactId>
</dependency> </dependency>
<!-- <dependency> <dependency>
<groupId>io.lettuce</groupId> <groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId> <artifactId>lettuce-core</artifactId>
<version>6.2.4.RELEASE</version> <version>6.2.4.RELEASE</version>
</dependency>--> </dependency>
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId> <artifactId>dynamic-datasource-spring-boot-starter</artifactId>

View File

@ -10,14 +10,7 @@ spring.redis.host=192.168.0.53
spring.redis.port=6379 spring.redis.port=6379
#spring.redis.password=123 #spring.redis.password=123
spring.redis.timeout=5000 spring.redis.timeout=5000
spring.redis.lettuce.shutdown-timeout=5000
#spring.redis.lettuce.timeout=5000
spring.redis.lettuce.pool.max-active=8
spring.redis.lettuce.pool.max-idle=8
spring.redis.lettuce.pool.min-idle=0
spring.redis.lettuce.pool.max-wait=2000ms
spring.redis.lettuce.pool.timeout=5000ms # 命令执行超时
spring.redis.lettuce.pool.connect-timeout=10000ms # 连接建立超时
server.port=8099 server.port=8099