Xuanwo opened a new pull request, #5941:
URL: https://github.com/apache/opendal/pull/5941

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements. You can link an issue to this PR using the GitHub syntax. For 
example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   Part of https://github.com/apache/opendal/issues/5938
   
   # Rationale for this change
   
   Our current `ConcurrentTasks` will poll the first task first before adding 
new tasks. In the worst cases, we will keep polling the first task without 
making any progress.
   
   This PR removed this poll and only await on the tasks while our queue is 
full.
   
   # What changes are included in this PR?
   
   - Remove the busy poll on task.
   - Only await while task queue is full.
   
   # Are there any user-facing changes?
   
   No.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to