dolphinscheduler
dolphinscheduler copied to clipboard
[Improvement][Master] The variables in the code are incorrect and there are ambiguity
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
The variable org.apache.dolphinscheduler.service.queue.StandByTaskInstancePriorityQueue#QUEUE_MAX_SIZE in the code needs to be changed to QUEUE_INITIAL_SIZE, because the meaning of this variable is the initial capacity of the queue, not the maximum capacity. The java.util.PriorityQueueis an unbounded queue.
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct