From fa0b23dd73d57f3460e878fa9d990ec7440baae9 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 26 二月 2020 12:50:01 +0800
Subject: [PATCH] 优化查询房屋信息

---
 WebService/src/main/resources/application-dev.yml |   31 ++++++++++---------------------
 1 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/WebService/src/main/resources/application-dev.yml b/WebService/src/main/resources/application-dev.yml
index 7204ecc..ce420ae 100644
--- a/WebService/src/main/resources/application-dev.yml
+++ b/WebService/src/main/resources/application-dev.yml
@@ -9,13 +9,15 @@
       maxWaitMillis: 20000
     host: dev.redis.java110.com
     port: 6379
+    timeout: 3000
+    password:
 
 eureka:
   instance:
     leaseRenewalIntervalInSeconds: 10
     leaseExpirationDurationInSeconds: 30
     preferIpAddress: true
-    instanceId: ${spring.cloud.client.ipAddress}:${server.port}
+    instanceId: ${spring.cloud.client.ip-address}:${server.port}
   client:
     serviceUrl:
       defaultZone: http://dev.java110.com:8761/eureka/
@@ -51,26 +53,6 @@
       max-idle: 100
       min-idle: 0
       timeout: 0
-  datasource:
-    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
-    minIdle: 5
-    validationQuery: SELECT 1 FROM DUAL
-    initialSize: 5
-    maxWait: 60000
-    filters: stat,wall,log4j
-    poolPreparedStatements: true
-    type: com.alibaba.druid.pool.DruidDataSource
-    url: jdbc:mysql://dev.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8
-    maxPoolPreparedStatementPerConnectionSize: 20
-    password: TT@12345678
-    testOnBorrow: false
-    testWhileIdle: true
-    minEvictableIdleTimeMillis: 300000
-    timeBetweenEvictionRunsMillis: 60000
-    testOnReturn: false
-    driverClassName: com.mysql.jdbc.Driver
-    maxActive: 20
-    username: TT
 
   thymeleaf:
     mode: LEGACYHTML5
@@ -80,6 +62,13 @@
     suffix: .html
     content-type: text/html
 
+  servlet:
+    multipart:
+      enabled: true
+      file-size-threshold: 2KB
+      max-file-size: 200MB
+      max-request-size: 215MB
+
 #============== kafka ===================
 kafka:
   consumer:

--
Gitblit v1.8.0