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 Jan 16, 2024
1 parent 325956b commit 4395d48
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 4395d48

Please sign in to comment.