From 7c3755157ec24fee6e4dcfe0ec6cda3266eaad9f Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 19 Jul 2024 12:51:24 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/listener/AppStartListener.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/app/src/main/java/io/metersphere/listener/AppStartListener.java b/backend/app/src/main/java/io/metersphere/listener/AppStartListener.java index a31b4cdc16..c645cf2488 100644 --- a/backend/app/src/main/java/io/metersphere/listener/AppStartListener.java +++ b/backend/app/src/main/java/io/metersphere/listener/AppStartListener.java @@ -44,8 +44,6 @@ public class AppStartListener implements ApplicationRunner { LogUtils.info("初始化接口事件源"); ApiEventSource apiEventSource = CommonBeanFactory.getBean(ApiEventSource.class); LogUtils.info("初始化用例管理事件源"); - LogUtils.info("初始化性能测试事件源"); - //LoadEventSource loadEventSource = CommonBeanFactory.getBean(LoadEventSource.class); //todo: 注册其他事件源 // 创建监听器对象并注册到多个事件源 @@ -53,11 +51,9 @@ public class AppStartListener implements ApplicationRunner { apiEventSource.addListener(listener); //todo: 注册其他监听器 - //loadEventSource.addListener(listener); // 触发事件 apiEventSource.fireEvent("API", "Event after removing the listener test."); - //loadEventSource.fireEvent("LOAD","Event after removing the listener."); // 加载插件 pluginLoadService.loadPlugins(); }