Commit 46d30876 authored by ma's avatar ma

调整

parent ea496c5e
...@@ -20,6 +20,10 @@ public class OperateSchedu { ...@@ -20,6 +20,10 @@ public class OperateSchedu {
@Scheduled(cron = "0 0/1 * * * ?") @Scheduled(cron = "0 0/1 * * * ?")
public void scheduled() { public void scheduled() {
operateManager.createProxyClient(); operateManager.createProxyClient();
}
@Scheduled(cron = "0 0 0/1 * * ?")
public void staticScheduled() {
int count = operateManager.getCount(); int count = operateManager.getCount();
monitorService.addMonitor(count); monitorService.addMonitor(count);
operateManager.clearCount(); operateManager.clearCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment