agingade commented on pull request #6858:
URL: https://github.com/apache/geode/pull/6858#issuecomment-921317167


   It is about the number of items to keep in the HARegion and then throttle; 
which can go beyond set limit. 
   Can we just replace the whole code using capacity and region’s size? and 
keep it simple...
   sync(this) {
     if (capacity - region.size()) > 0) {
       wait(x time); // Notify when take is done while still waiting...
      }
   }
   


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