From 68e85a0ffc6d90e14fdd8b1936e63838d9fcfd23 Mon Sep 17 00:00:00 2001
From: Carl <376654749@qq.com>
Date: Thu, 2 Dec 2021 15:16:07 +0800
Subject: [PATCH] modify config
---
smart-admin-service/pom.xml | 2 ++
smart-admin-service/smart-admin-api/pom.xml | 1 +
.../src/main/resources/dev/application.properties | 4 ++--
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/smart-admin-service/pom.xml b/smart-admin-service/pom.xml
index 39a6f3ce..faed88ff 100644
--- a/smart-admin-service/pom.xml
+++ b/smart-admin-service/pom.xml
@@ -309,6 +309,7 @@
+ compile
@@ -346,4 +347,5 @@
+
\ No newline at end of file
diff --git a/smart-admin-service/smart-admin-api/pom.xml b/smart-admin-service/smart-admin-api/pom.xml
index f7ec8db4..f45da252 100644
--- a/smart-admin-service/smart-admin-api/pom.xml
+++ b/smart-admin-service/smart-admin-api/pom.xml
@@ -272,5 +272,6 @@
+ compile
\ No newline at end of file
diff --git a/smart-admin-service/smart-admin-api/src/main/resources/dev/application.properties b/smart-admin-service/smart-admin-api/src/main/resources/dev/application.properties
index 7331dd19..e288cd16 100644
--- a/smart-admin-service/smart-admin-api/src/main/resources/dev/application.properties
+++ b/smart-admin-service/smart-admin-api/src/main/resources/dev/application.properties
@@ -39,12 +39,12 @@ spring.datasource.druid.password=123456
spring.datasource.druid.login.enabled=false
######################### redis #######################################
-spring.redis.database=0
+spring.redis.database=1
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.timeout=10000ms
spring.redis.password=
-spring.redis.lettuce.pool.max-active=10
+spring.redis.lettuce.pool.max-active=100
spring.redis.lettuce.pool.min-idle=5
spring.redis.lettuce.pool.max-idle=10
spring.redis.lettuce.pool.max-wait=30000ms