From aa2c3d4deba76ade0958ff3ced88396e226a4964 Mon Sep 17 00:00:00 2001
From: duhuizhe <271000472@qq.com>
Date: 星期三, 15 五月 2024 19:57:40 +0800
Subject: [PATCH] 项目启动失败问题解决

---
 ecosphere/ecosphere-four-payment/src/main/resources/application-dev.yml |   37 +++++++++++++++++++++++++++++++------
 1 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/ecosphere/ecosphere-four-payment/src/main/resources/application-dev.yml b/ecosphere/ecosphere-four-payment/src/main/resources/application-dev.yml
index 4826ba1..7677ee6 100644
--- a/ecosphere/ecosphere-four-payment/src/main/resources/application-dev.yml
+++ b/ecosphere/ecosphere-four-payment/src/main/resources/application-dev.yml
@@ -18,11 +18,36 @@
     url: jdbc:mysql://116.198.40.76:3306/ecosphere_shop_basics?characterEncoding=utf8&autoReconnect=true&useSSL=false
     username: root
     password: Bjjmy_2020
-  redis:
-    host: 116.198.40.76
-    port: 6379
-    password: Jmy2019.
-    database: 2
+  data:
+    redis:
+      host: 116.198.40.76
+      port: 6379
+      # 瀵嗙爜(濡傛病鏈夊瘑鐮佽娉ㄩ噴鎺�)
+      password: Jmy2019.
+      database: 0
+      timeout: 10s
+      ssl.enabled: false
+redisson:
+  # redis key鍓嶇紑
+  keyPrefix: fourPay
+  # 绾跨▼姹犳暟閲�
+  threads: 4
+  # Netty绾跨▼姹犳暟閲�
+  nettyThreads: 8
+  # 鍗曡妭鐐归厤缃�
+  singleServerConfig:
+    # 瀹㈡埛绔悕绉�
+    clientName: ${spring.application.name}
+    # 鏈�灏忕┖闂茶繛鎺ユ暟
+    connectionMinimumIdleSize: 8
+    # 杩炴帴姹犲ぇ灏�
+    connectionPoolSize: 32
+    # 杩炴帴绌洪棽瓒呮椂锛屽崟浣嶏細姣
+    idleConnectionTimeout: 10000
+    # 鍛戒护绛夊緟瓒呮椂锛屽崟浣嶏細姣
+    timeout: 3000
+    # 鍙戝竷鍜岃闃呰繛鎺ユ睜澶у皬
+    subscriptionConnectionPoolSize: 50
   #rabbitMQ
   rabbitmq:
     host: 116.198.40.76
@@ -41,7 +66,7 @@
   #璇佷功TurstKey
   clientTurstKey: ENC(G8cCcaj9gPzCLXW2vy4y3ap/Llx+W3GkvtpQP7vwFFo=)
 swagger:
-  enable: true
+  enable: false
 #澶栫綉鎺ュ彛鏄惁璧癱all鏈嶅姟
 service-type: false
 

--
Gitblit v1.9.1