Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-08 17:44:44 +08:00
commit da499d088d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ import java.util.concurrent.Executors;
@Component
public class ActivitiNoticeAspect {
private static Integer cpuNUm = Runtime.getRuntime().availableProcessors();
private static final ExecutorService executor = Executors.newWorkStealingPool(cpuNUm * 3);
private static final ExecutorService executor = Executors.newFixedThreadPool(cpuNUm * 3);
private static Logger logger = LoggerFactory.getLogger(ActivitiNoticeAspect.class);
@Autowired
private SysNoticeService sysNoticeService;