You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/12/04 02:49:40 UTC

[GitHub] [incubator-dolphinscheduler] GitFireMan removed a comment on pull request #4140: [Improvement-4137] remove priorityQueue.size=0 sleep 1 second

GitFireMan removed a comment on pull request #4140:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/4140#issuecomment-738527037


   > > @CalvinKirs When a new task put into the `queue`, sleep one second will make the comsumer waiting util one second pass.
   > > But use `poll(timeout,Unit)` can solve this question, and can have some performance promote when the Tasks comes low frequency.
   > > Also it can resolve that an always failed high-priority task block master consumer.
   > > Queue implement used here is `PriorityBlockingQueue` , and poll(timeout,Unit) belongs to `PriorityBlockingQueue` .
   > 
   > Sorry, I think you can do this.
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org