提交 d5c08191 编写于 作者: J jialinsun

删掉debug注释

上级 fe21fb25
......@@ -50,10 +50,6 @@ public class CatHomeModule extends AbstractModule {
Threads.forGroup("Cat").start(domainNavManager);
Threads.forGroup("Cat").start(taskConsumer);
}
ThirdPartyAlert thirdPartyAlert = ctx.lookup(ThirdPartyAlert.class);
ThirdPartyAlertTask thirdPartyAlertTask = ctx.lookup(ThirdPartyAlertTask.class);
Threads.forGroup("Cat").start(thirdPartyAlert);
Threads.forGroup("Cat").start(thirdPartyAlertTask);
if (serverConfigManager.isAlertMachine() && !serverConfigManager.isLocalMode()) {
BusinessAlert metricAlert = ctx.lookup(BusinessAlert.class);
......@@ -61,10 +57,8 @@ public class CatHomeModule extends AbstractModule {
SystemAlert systemAlert = ctx.lookup(SystemAlert.class);
ExceptionAlert exceptionAlert = ctx.lookup(ExceptionAlert.class);
ProjectUpdateTask productUpdateTask = ctx.lookup(ProjectUpdateTask.class);
Threads.forGroup("Cat").start(thirdPartyAlert);
Threads.forGroup("Cat").start(thirdPartyAlertTask);
// ThirdPartyAlert thirdPartyAlert = ctx.lookup(ThirdPartyAlert.class);
// ThirdPartyAlertTask thirdPartyAlertTask = ctx.lookup(ThirdPartyAlertTask.class);
ThirdPartyAlert thirdPartyAlert = ctx.lookup(ThirdPartyAlert.class);
ThirdPartyAlertTask thirdPartyAlertTask = ctx.lookup(ThirdPartyAlertTask.class);
Threads.forGroup("Cat").start(networkAlert);
Threads.forGroup("Cat").start(systemAlert);
......
......@@ -124,7 +124,7 @@ public class ThirdPartyAlertTask implements Task, LogEnabled {
String url = http.getUrl();
String type = http.getType();
String pars = http.getPars();
String details = "HTTP URL[" + url + "?" + pars + "] " + type.toUpperCase() + "无法访问";
String details = "HTTP URL[" + url + "?" + pars + "] " + type.toUpperCase() + "访问出现异常";
entity.setDomains(http.getDomains()).setType(type).setDetails(details);
return entity;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册