From 20fece55233ec20ac8b289151162a255a8ef09d1 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期一, 16 一月 2023 08:35:05 +0800
Subject: [PATCH] 安全物资和设备优化
---
safePlatfrom-out-web/src/main/resources/config/application-test.yaml | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/safePlatfrom-out-web/src/main/resources/config/application-test.yaml b/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
index 5e35629..feec198 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
@@ -2,7 +2,7 @@
tomcat:
uri-encoding: UTF-8
basedir: /
- port: 8009
+ port: 7009
servlet:
context-path: /
@@ -56,8 +56,6 @@
cloud:
nacos:
discovery:
- # server-addr: nacos://121.239.169.27:18848?username=nacos&password=guokehongyu
- # server-addr: 192.168.0.52:8848?namespace=e07a2454-136b-4498-99eb-09dae3336ebe&username=gkhy_team_safeplatform_dev&password=nacosadmin
server-addr: http://192.168.0.52:8848
namespace: aa080ed0-5a7c-480c-8b7a-5a0a8d3c986f
username: gkhy_safeplatform_out
@@ -69,6 +67,11 @@
namespace: aa080ed0-5a7c-480c-8b7a-5a0a8d3c986f
username: gkhy_safeplatform_out
password: 9485uyJHISes09t
+ inetutils:
+ ignored-interfaces:
+ - VirtualBox Host-Only Network
+ preferred-networks:
+ - 192.168
#是否允许跨域 true:允许;false:不允许
@@ -89,14 +92,24 @@
base-packages: com.gkhy.safePlatform
protocol:
name: dubbo
- port: 18082
+ port: 33003
serialization: kryo
+ host: ${spring.cloud.client.ip-address}
consumer:
# 服务连接超时时间
timeout: 3000
# 取消服务启动检查
check: false
+threadPool:
+ corePoolSize: 20
+ maxPoolSize: 20
+ queueCapacity: 10000
+ scheduling:
+ #控制线程是否执行 true:执行;false:不执行
+ enabled: true
+# enabled: false
+
rocketmq:
name-server: 192.168.0.52:9876
producer:
--
Gitblit v1.9.2