Skip to content

Commit

Permalink
[manager] bugfix after repeatedly canceling the start monitoring, the…
Browse files Browse the repository at this point in the history
… monitoring is not really canceled (#215)
  • Loading branch information
yangshihui authored and tomsun28 committed Jul 10, 2022
1 parent 340b323 commit b79061c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ public void enableManageMonitors(HashSet<Long> ids) {
// 构造采集任务Job实体
Job appDefine = appService.getAppDefine(monitor.getApp());
appDefine.setMonitorId(monitor.getId());
appDefine.setId(monitor.getJobId());
appDefine.setInterval(monitor.getIntervals());
appDefine.setCyclic(true);
appDefine.setTimestamp(System.currentTimeMillis());
Expand Down

0 comments on commit b79061c

Please sign in to comment.