By default, KazooRetry uses time.sleep as sleep_func, which makes the whole
process when called. This causes the call to become blocking. We should use
gevent.sleep to avoid this.
Change-Id: I3b9ef36b5da2bbb56f5f96db68fa254678890b33
Closes-Bug: 1395319
(cherry picked from commit 44d559187d99b3c04438d184dabd4536e78fb610)
Reviewed: https:/ /review. opencontrail. org/9000 github. org/Juniper/ contrail- controller/ commit/ 78248ca63d10be6 e9b8380c634136f 683864c78f
Committed: http://
Submitter: Zuul
Branch: R2.0
commit 78248ca63d10be6 e9b8380c634136f 683864c78f
Author: Sachin Bansal <email address hidden>
Date: Thu Apr 2 11:50:05 2015 -0700
Use gevent.sleep as sleep_func for KazooRetry
By default, KazooRetry uses time.sleep as sleep_func, which makes the whole
process when called. This causes the call to become blocking. We should use
gevent.sleep to avoid this.
Change-Id: I3b9ef36b5da2bb b56f5f96db68fa2 54678890b33 04438d184dabd45 36e78fb610)
Closes-Bug: 1395319
(cherry picked from commit 44d559187d99b3c