From f39a67c46e3fd7f673e4e859be0b68232ab54391 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Mon, 13 Jul 2020 06:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=85=A5redis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/redis.properties | 20 -------------- src/main/resources/redis.xml | 42 ++++++++++++++--------------- src/main/resources/spring-mvc.xml | 2 +- 3 files changed, 22 insertions(+), 42 deletions(-) delete mode 100644 src/main/resources/redis.properties diff --git a/src/main/resources/redis.properties b/src/main/resources/redis.properties deleted file mode 100644 index 5b21738d..00000000 --- a/src/main/resources/redis.properties +++ /dev/null @@ -1,20 +0,0 @@ -#IP -redis.host=127.0.0.1 -#\u7AEF\u53E3 -redis.port=6379 -#\u5BC6\u7801 -redis.password= -#\u8D85\u65F6\uFF0C\u5355\u4F4D\u6BEB\u79D2 -redis.timeout=10000 -#\u6700\u5927\u7A7A\u95F2\u6570 -redis.maxIdle=300 -#\u6700\u5927\u8FDE\u63A5\u6570 -redis.maxTotal=600 -#\u6700\u5927\u7A7A\u95F2\u6570 -redis.minIdle=1 -#\u6700\u5927\u5EFA\u7ACB\u8FDE\u63A5\u7B49\u5F85\u65F6\u95F4 -redis.maxWait=1000 -#\u6307\u660E\u662F\u5426\u5728\u4ECE\u6C60\u4E2D\u53D6\u51FA\u8FDE\u63A5\u524D\u8FDB\u884C\u68C0\u9A8C,\u5982\u679C\u68C0\u9A8C\u5931\u8D25,\u5219\u4ECE\u6C60\u4E2D\u53BB\u9664\u8FDE\u63A5\u5E76\u5C1D\u8BD5\u53D6\u51FA\u53E6\u4E00\u4E2A -redis.testOnBorrow=false -#\u4F7F\u7528redis\u5757\u5206\u533A,0-15 -redis.database=0 \ No newline at end of file diff --git a/src/main/resources/redis.xml b/src/main/resources/redis.xml index 2a728b9f..a2d09832 100644 --- a/src/main/resources/redis.xml +++ b/src/main/resources/redis.xml @@ -1,45 +1,45 @@ - + - + - - + + - + - + - - - - - + + + + + - + - - + + @@ -58,5 +58,5 @@ - - \ No newline at end of file + + diff --git a/src/main/resources/spring-mvc.xml b/src/main/resources/spring-mvc.xml index e3815f79..fe72d4d4 100644 --- a/src/main/resources/spring-mvc.xml +++ b/src/main/resources/spring-mvc.xml @@ -160,6 +160,6 @@ - +