We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please provide the following informations.
Booster对项目中使用ScheduledExecutorService的地方优化成Executors.newScheduledThreadPool(1); 有一种场景:两个任务需要在一段时间后同时被执行,如果核心线程>1 两者可以竞争,但核心线程为1 只能排队执行。对于两个任务存在互相竞争 比如各自轮询且依赖另一方的场景,优化后会导致一方不执行。
The text was updated successfully, but these errors were encountered:
feat: optimization for scheduled thread pool executor didi#154
9947194
feat: optimization for scheduled thread pool executor #154
46dd8c8
Successfully merging a pull request may close this issue.
Please provide the following informations.
--
--
--
--
1.5.1
--
Booster对项目中使用ScheduledExecutorService的地方优化成Executors.newScheduledThreadPool(1);
有一种场景:两个任务需要在一段时间后同时被执行,如果核心线程>1 两者可以竞争,但核心线程为1 只能排队执行。对于两个任务存在互相竞争 比如各自轮询且依赖另一方的场景,优化后会导致一方不执行。
The text was updated successfully, but these errors were encountered: