jasperjiaguo opened a new pull request, #9158:
URL: https://github.com/apache/pinot/pull/9158

   in the previous code, if I set `_maxNumAttempts = 3` the program will do 
   
   |action | attempt|
   |-------|--------|
   | try      | 0    |
   | sleep      | 1    |
   | try      | 1    |
   | sleep      | 2    |
   | try      | 2    |
   | sleep      | 3    |
   |break
   
   for failed attempts, where the last sleep is cause unnecessary hanging 
especially for exponential back off case 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to