mapleFU commented on PR #40722:
URL: https://github.com/apache/arrow/pull/40722#issuecomment-2031118093

   > Previously, we did not finish queued tasks before unpausing. This means we 
would unpause and let in more queued tasks and then pause again real quick. 
This leads to the # of queued tasks growing without bound.
   
   I get to understand why "pause" "resume" is important. But I remain a point 
that don't understand. When throttle and `max_concurrent_cost = 1`, the 
max-running-task = 1, wouldn't `Release` and `ContinueTasks()` being called 
after current pending task (size = 1) is finished?


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