[Improvement][Master] The variables in the code are incorrect and there are ambiguity #16039
Closed
3 tasks done
Labels
improvement
make more easy to user or prompt friendly
Search before asking
Description
The variable
org.apache.dolphinscheduler.service.queue.StandByTaskInstancePriorityQueue#QUEUE_MAX_SIZE
in the code needs to be changed toQUEUE_INITIAL_SIZE
, because the meaning of this variable is the initial capacity of the queue, not the maximum capacity. Thejava.util.PriorityQueue
is an unbounded queue.Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: