|
@@ -27,6 +27,7 @@ public class ScheduledConfig implements AsyncConfigurer {
|
|
|
executor.setMaxPoolSize(20);
|
|
executor.setMaxPoolSize(20);
|
|
|
executor.setQueueCapacity(50);
|
|
executor.setQueueCapacity(50);
|
|
|
executor.setKeepAliveSeconds(60);
|
|
executor.setKeepAliveSeconds(60);
|
|
|
|
|
+ executor.setThreadNamePrefix("wm-application-task-");
|
|
|
executor.initialize();
|
|
executor.initialize();
|
|
|
return executor;
|
|
return executor;
|
|
|
}
|
|
}
|