|
|
@ -165,7 +165,9 @@ public class JobThread extends Thread{
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (idleTimes > 30) {
|
|
|
|
if (idleTimes > 30) {
|
|
|
|
XxlJobExecutor.removeJobThread(jobId, "excutor idel times over limit.");
|
|
|
|
if(triggerQueue ==null||triggerQueue.size()==0) {
|
|
|
|
|
|
|
|
XxlJobExecutor.removeJobThread(jobId, "excutor idel times over limit.");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Throwable e) {
|
|
|
|
} catch (Throwable e) {
|
|
|
|