You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "haodanchen (via GitHub)" <gi...@apache.org> on 2023/12/04 23:40:29 UTC
Re: [PR] Remove ReadWriteLock [dolphinscheduler]
haodanchen commented on code in PR #15071:
URL: https://github.com/apache/dolphinscheduler/pull/15071#discussion_r1414646563
##########
dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/QuartzScheduler.java:
##########
@@ -49,7 +48,7 @@ public class QuartzScheduler implements SchedulerApi {
@Autowired
private Scheduler scheduler;
- private final ReadWriteLock lock = new ReentrantReadWriteLock();
+ private final ReentrantLock lock = new ReentrantLock();
Review Comment:
@ruanwenjun There has any other needs to be improved? Thx!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org