From 464116335cba47ddce55ee3a4ddc87af7fee5d15 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 09 四月 2026 17:08:23 +0800
Subject: [PATCH] #redis降级
---
rsf-server/src/main/resources/application-dev.yml | 48 ++++++++++++++++++++++++++++++++++++------------
1 files changed, 36 insertions(+), 12 deletions(-)
diff --git a/rsf-server/src/main/resources/application-dev.yml b/rsf-server/src/main/resources/application-dev.yml
index 95669f3..ce088af 100644
--- a/rsf-server/src/main/resources/application-dev.yml
+++ b/rsf-server/src/main/resources/application-dev.yml
@@ -1,8 +1,7 @@
server:
- port: 8080
+ port: 8085
servlet:
context-path: /@pom.artifactId@
-
spring:
application:
name: @pom.artifactId@
@@ -11,35 +10,39 @@
path match:
matching-strategy: ANT_PATH_MATCHER
datasource:
- driver-class-name: com.mysql.jdbc.Driver
+ driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://47.76.147.249:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
# username: rsf
username: root
- url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- password: 34821015
+# url: jdbc:mysql://10.10.10.200:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+# password: xltys1995
+# url: jdbc:mysql://127.0.0.1:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
+ url: jdbc:mysql://192.168.4.199:3306/rsf?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+ password: root
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: 5
min-idle: 5
max-active: 20
max-wait: 30000
+ keep-alive: true
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
test-while-idle: true
- test-on-borrow: true
+ test-on-borrow: false
test-on-return: false
remove-abandoned: true
remove-abandoned-timeout: 1800
#pool-prepared-statements: false
#max-pool-prepared-statement-per-connection-size: 20
filters: stat, wall
- validation-query: SELECT 'x'
- aop-patterns: com.zy.*.*.service.*
+ validation-query: SELECT 1
+ aop-patterns: com.vincent.rsf.server.*.service.*
stat-view-servlet:
url-pattern: /druid/*
reset-enable: true
- login-username: admin
- login-password: admin
+ login-username: ${DRUID_STAT_USER:admin}
+ login-password: ${DRUID_STAT_PWD:admin123}
enabled: true
servlet:
multipart:
@@ -64,7 +67,6 @@
class: javax.net.ssl.SSLSocketFactory
redis:
host: 127.0.0.1
- password: xltys1995
port: 6379
timeout: 5000
index: 15
@@ -83,6 +85,20 @@
api:
#璐ㄦ涓婃姤鎺ュ彛
notify-inspect: /report/inspect
+ rcs:
+ #閾炬帴
+ host: http://127.0.0.1
+ #绔彛
+ port: 8081
+
+ #浼佷笟ERP骞冲彴
+ open:
+ #鎺ュ彛鏄庣粏
+ api:
+ #localhost
+ host: http://127.0.0.1
+ #绔彛鍙�
+ port: 8081
#浠撳簱鍔熻兘鍙傛暟閰嶇疆
stock:
@@ -95,4 +111,12 @@
#鍒ゆ柇鏄悗妫�楠屽悎鏍煎悗锛屾墠鍏佽涓婃灦
flagAvailable: true
#鍒ゆ柇鏄惁鏍¢獙鍚堟牸鍚庯紝鎵嶅厑璁告敹璐�
- flagReceiving: false
\ No newline at end of file
+ flagReceiving: false
+
+pressure:
+ asn-order:
+ enabled: false
+ cron: "0/10 * * * * ?"
+ order-count-per-run: 2000
+ item-count-per-order: 1
+ item-qty: 10.0
--
Gitblit v1.9.1