From 659a197de52e941b45d6fa8afb0025358b82f1c9 Mon Sep 17 00:00:00 2001 From: liyansheng <1761724207@qq.com> Date: Mon, 7 Jul 2025 22:58:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=85=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user-service.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/user-service.yml b/user-service.yml index 4373e4f..fc19acb 100644 --- a/user-service.yml +++ b/user-service.yml @@ -4,6 +4,12 @@ server: spring: application: name: user-service + cloud: + sentinel: + transport: + dashboard: localhost:8858 # Sentinel 控制台地址 + port: 8719 # 与控制台通信的端口 + eager: true # 启动就连接 dashboard,不等接口调用 management: endpoints: web: