Merge pull request #3182 from hashmaparraylist/master

fix(thread): 修复SpringContext重启后,三个单例Thread没有重新启动的问题
3.4.1-release
许雪里 4 weeks ago committed by GitHub
commit a0551c200e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -36,6 +36,7 @@ public class ExecutorRegistryThread {
return;
}
toStop = false;
registryThread = new Thread(new Runnable() {
@Override
public void run() {

@ -33,6 +33,7 @@ public class JobLogFileCleanThread {
return; // effective only when logRetentionDays >= 3
}
toStop = false;
localThread = new Thread(new Runnable() {
@Override
public void run() {

@ -61,9 +61,13 @@ public class TriggerCallbackThread {
return;
}
toStop = false;
/**
* trigger callback thread
*/
triggerCallbackThread = new Thread(new Runnable() {
@Override

Loading…
Cancel
Save