diff --git a/pom.xml b/pom.xml
index 8e0f53c53f8b725129ac379a4db5b901b3fbe21b..22eca3a2c424e9d0654f5ec56bc284bd6473ca11 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,6 +20,7 @@
3.17
0.9.0
1.3.2
+ 2.5.0
@@ -134,6 +135,11 @@
jjwt
${jwt.version}
+
+ org.apache.commons
+ commons-pool2
+ ${commons-pool2.version}
+
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 64a8e8e7a4f2eaf3183c481bd0735e3c0c031e94..431caebdf8c55c7ff036e8d674d874f0d9772b95 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -32,6 +32,13 @@ spring:
redis:
host: localhost
port: 6379
+ timeout: 3000
+ lettuce:
+ pool:
+ min-idle: 0
+ max-idle: 8
+ max-active: 8
+ max-wait: -1
mail:
default-encoding: UTF-8
host: smtp.163.com