Searched refs:max_wait (Results 1 – 5 of 5) sorted by relevance
120 def CalculateWaitForRetry(retry_attempt, max_wait=60): argument139 return max(1, min(wait_time, max_wait))
75 self.assertAlmostEqual(10, util.CalculateWaitForRetry(5, max_wait=10))
281 retry_args.num_retries, max_wait=retry_args.max_retry_wait))
213 const TimeDelta max_wait(end_time - current_time); in TimedWait() local214 sw.cv()->TimedWait(max_wait); in TimedWait()
729 time.sleep(CalculateWaitForRetry(retries, max_wait=self.max_retry_wait))1004 CalculateWaitForRetry(retries, max_wait=self.max_retry_wait))1016 CalculateWaitForRetry(retries, max_wait=self.max_retry_wait))