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/02 05:55:21 UTC

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

GitFireMan commented on pull request #4140:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/4140#issuecomment-737009454


   @lgcareer I get your mean. To avoid an always failed high-priority task block master consumer. 
   Maybe we can use `public E poll(long timeout, TimeUnit unit)` .
   code like this
   ![image](https://user-images.githubusercontent.com/18112654/100833941-e91a5f80-34a5-11eb-8419-bccda61a734c.png)
   ![image](https://user-images.githubusercontent.com/18112654/100833879-ca1bcd80-34a5-11eb-81cf-690db60b94e3.png)
   
   what do you think about?


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