提交 67cde18c 编写于 作者: T Tboy 提交者: qiaozhanwei

fix #1515 (#1516)

上级 66217be9
...@@ -147,9 +147,8 @@ public class FetchTaskThread implements Runnable{ ...@@ -147,9 +147,8 @@ public class FetchTaskThread implements Runnable{
//check memory and cpu usage and threads //check memory and cpu usage and threads
boolean runCheckFlag = OSUtils.checkResource(workerConfig.getWorkerMaxCpuloadAvg(), workerConfig.getWorkerReservedMemory()) && checkThreadCount(poolExecutor); boolean runCheckFlag = OSUtils.checkResource(workerConfig.getWorkerMaxCpuloadAvg(), workerConfig.getWorkerReservedMemory()) && checkThreadCount(poolExecutor);
Thread.sleep(Constants.SLEEP_TIME_MILLIS);
if(!runCheckFlag) { if(!runCheckFlag) {
Thread.sleep(Constants.SLEEP_TIME_MILLIS);
continue; continue;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册