Skip to content

Commit fee5128

Browse files
committed
i18n text
1 parent 69a711b commit fee5128

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

‎README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
### 任务依赖
3838

39-
+ 计划开发中
39+
+ antares支持**树形任务依赖**,当某任务执行完成后,会通知其**后置任务**执行
4040

4141
## 名称术语
4242

@@ -402,6 +402,10 @@
402402

403403
![](screenshots/job_config.png)
404404

405+
+ 任务依赖:
406+
407+
![](screenshots/job_dependence.png)
408+
405409
+ 任务管控:
406410

407411
![](screenshots/job_control.png)

‎antares-server/src/main/java/me/hao0/antares/server/event/job/JobEventListener.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import java.util.List;
1414

1515
/**
16-
* The job event subscriber
16+
* The job event listener
1717
* Author: haolin
1818
* Email: haolin.h0@gmail.com
1919
*/
@@ -60,7 +60,7 @@ private void notifyAllNextJobs(JobFinishedEvent e) {
6060
serverService.notifyJob(nextJobId);
6161
}
6262

63-
break;
63+
pageNo ++;
6464
}
6565
}
6666
}

‎antares-server/src/main/java/me/hao0/antares/server/schedule/ZkJob.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ private void initJobNodes() {
6868
String appName = app.getAppName();
6969
String jobClass = job.getClazz();
7070

71-
// clear the job data
72-
// jobSupport.removeJob(jobDetail);
71+
// clean the job instances
72+
jobSupport.deleteJobInstances(appName, jobClass);
7373

7474
// create the job instances dir
7575
jobSupport.mkJobInstances(appName, jobClass);

‎antares-tower/src/main/resources/public/app.js‎

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎screenshots/job_dependence.png‎

172 KB
Loading

0 commit comments

Comments
 (0)