Aditya Verma

Results 26 comments of Aditya Verma

@timabbott I have reworked my changes into two commits. In the first commit I am improving the Random Exponential Backoff class. In the second commit I am updating the do_api_query...

@timabbott removed delay_base completely as it changed only one iteration(it was set to 1/2 so it would basically reduce power of 2 by 1) and I think was not required....

@timabbott Improved the commits. The first commit now basically adds delay_cap properly, with the Random Exponential Backoff now using delay_cap. The second commit improves Random Exponential Backoff algorithm. The third...

@timabbott Changed the code to be more readable and have minimal changes. I was not aware of call_on_each_event. Will make the necessary commits soon. Also can you shed some light...

Added exponential backoff to call_on_each_event. But the function was originally intended to keep retrying to connect the server until successful. So an infinite loop. @timabbott @showell Is that intended or...

@timabbott Sure, I will start testing it.

Made a PR for do_api_query. But base and cap need to be decided. Also if this is done, then I can change class RandomExponentialBackoff accordingly.

PR added. Please review. Also how should we change the docs in this case?