mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: decrease initialDelay to speed up the execution of short tasks #166
This commit is contained in:
parent
bc58272c85
commit
bd8db1b9df
@ -57,7 +57,7 @@ public class CommonTaskTracker extends TaskTracker {
|
|||||||
persistenceRootTask();
|
persistenceRootTask();
|
||||||
|
|
||||||
// 开启定时状态检查
|
// 开启定时状态检查
|
||||||
scheduledPool.scheduleWithFixedDelay(new StatusCheckRunnable(), 13, 13, TimeUnit.SECONDS);
|
scheduledPool.scheduleWithFixedDelay(new StatusCheckRunnable(), 3, 13, TimeUnit.SECONDS);
|
||||||
|
|
||||||
// 如果是 MR 任务,则需要启动执行器动态检测装置
|
// 如果是 MR 任务,则需要启动执行器动态检测装置
|
||||||
ExecuteType executeType = ExecuteType.valueOf(req.getExecuteType());
|
ExecuteType executeType = ExecuteType.valueOf(req.getExecuteType());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user