Lines Matching full:retries
11 * Middleware that retries requests based on the boolean result of
26 * @param callable $decider Function that accepts the number of retries,
31 * @param callable $delay Function that accepts the number of retries
48 * @param int $retries
52 public static function exponentialDelay($retries) argument
54 return (int) pow(2, $retries - 1) * 1000;
65 if (!isset($options['retries'])) {
66 $options['retries'] = 0;
87 $options['retries'],
108 $options['retries'],
124 $options['delay'] = call_user_func($this->delay, ++$options['retries'], $response);