Browse Source

chore: druid升级1.2.1

linlinjava 5 years ago
parent
commit
c4da8fb5b0
2 changed files with 8 additions and 3 deletions
  1. 7 2
      litemall-db/src/main/resources/application-db.yml
  2. 1 1
      pom.xml

+ 7 - 2
litemall-db/src/main/resources/application-db.yml

@@ -22,5 +22,10 @@ spring:
       test-on-return:  false
       test-while-idle:  true
       time-between-eviction-runs-millis:  60000
-      filters:  stat,wall
-
+      webStatFilter:
+        enabled: true
+      statViewServlet:
+        enabled: false
+      filter:
+        stat:
+          enabled: false

+ 1 - 1
pom.xml

@@ -92,7 +92,7 @@
             <dependency>
                 <groupId>com.alibaba</groupId>
                 <artifactId>druid-spring-boot-starter</artifactId>
-                <version>1.1.10</version>
+                <version>1.2.1</version>
             </dependency>
 
             <dependency>