Home
last modified time | relevance | path

Searched full:retries (Results 1 – 25 of 54) sorted by relevance

123

/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
DRetryMiddleware.php11 * 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'],
[all …]
DMiddleware.php154 * Middleware that retries requests based on the boolean result of
160 * @param callable $decider Function that accepts the number of retries,
163 * @param callable $delay Function that accepts the number of retries and
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/
DRetryMiddleware.php11 * Middleware that retries requests based on the boolean result of
34 … $decider Function that accepts the number of retries,
39 …(int): int)|null $delay Function that accepts the number of retries
55 public static function exponentialDelay(int $retries): int argument
57 return (int) 2 ** ($retries - 1) * 1000;
62 if (!isset($options['retries'])) {
63 $options['retries'] = 0;
82 $options['retries'],
101 $options['retries'],
115 $options['delay'] = ($this->delay)(++$options['retries'], $response, $request);
DMiddleware.php165 * Middleware that retries requests based on the boolean result of
171 * @param callable $decider Function that accepts the number of retries,
174 * @param callable $delay Function that accepts the number of retries and
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
Dset-retries.asciidoc1 [[set-retries]]
2 === Set retries
10 If you would like to disable retries, or change the number, you can do so with
21 When the client runs out of retries, it will throw the last exception that it
28 To help in identification, exceptions that are thrown due to max retries wrap a
44 echo "Max retries!";
66 echo "Max retries!";
Dconfig-hash.asciidoc11 Array keys correspond to the method name, for example `retries` key corresponds
20 'retries' => 2,
38 'retries' => 2,
Dconfiguration.asciidoc15 * <<set-retries>>
34 include::set-retries.asciidoc[]
Dconnection-pool.asciidoc14 maximum retries. For example, your cluster may have 10 nodes. You execute a
23 will note this much less than the `retries` value, because `retries` only
24 applies to retries against alive nodes. In this case, only one node is known to
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/Curl/
DUtil.php35 * Executes a CURL request with optional retries and exception on failure
38 * @param int $retries
42 public static function execute($ch, int $retries = 5, bool $closeAfterDone = true) argument
44 while ($retries--) {
49 if (false === in_array($curlErrno, self::$retriableErrorCodes, true) || !$retries) {
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
DTransport.php53 public $retries; variable in Elasticsearch\\Transport
59 * @param int $retries
64 …public function __construct(int $retries, AbstractConnectionPool $connectionPool, LoggerInterface … argument
68 $this->retries = $retries;
158 if ($this->retryAttempts < $this->retries) {
DClientBuilder.php115 private $retries; variable in Elasticsearch\\ClientBuilder
486 * Set number or retries (default is equal to number of nodes)
488 * @param int $retries
490 public function setRetries(int $retries): ClientBuilder argument
492 $this->retries = $retries;
733 if (is_null($this->retries)) {
734 $this->retries = count($connections);
738 …$this->transport = new Transport($this->retries, $this->connectionPool, $this->logger, $this->snif…
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudDataplex/
DGoogleCloudDataplexV1JobEvent.php37 public $retries; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1JobEvent
104 public function setRetries($retries) argument
106 $this->retries = $retries;
113 return $this->retries;
/plugin/authgooglesheets/vendor/google/apiclient/src/Task/
DRunner.php50 * retries.
143 if (isset($config['retries'])) {
144 if ($config['retries'] < 0) {
146 'Task configuration `retries` must not be negative.'
149 $this->maxAttempts += $config['retries'];
173 * Runs the task and (if applicable) automatically retries when errors occur.
176 * @throws \Google\Service\Exception on failure when no retries are available.
/plugin/sequencediagram/bower_components/lodash/test/
Dsaucelabs.js367 if (this.attempts < this.retries) {
444 if (errored && this.attempts < this.retries) {
455 else if (tunnel.attempts < tunnel.retries) {
488 if (this.attempts < this.retries) {
592 console.log('%s %s restart %d of %d', label, description, ++this.attempts, this.retries);
719 if (tunnel.attempts < tunnel.retries &&
754 console.log('Tunnel %s: restart %d of %d', this.id, ++this.attempts, this.retries);
894 'job': { 'retries': maxJobRetries, 'statusInterval': statusInterval }, property
896 'retries': maxTunnelRetries, property
/plugin/mizarproofchecker/
Daction.php234 $retries = 3; // 最大3回リトライ
235 while ($retries > 0) {
240 $retries--;
243 if ($retries === 0) {
/plugin/mizarveifiabledocs/
Daction.php234 $retries = 3; // 最大3回リトライ
235 while ($retries > 0) {
240 $retries--;
243 if ($retries === 0) {
/plugin/elasticsearch/vendor/ezimuel/ringphp/src/Client/
DCurlFactory.php545 if (!isset($request['curl']['retries'])) {
546 $request['curl']['retries'] = 1;
547 } elseif ($request['curl']['retries'] == 2) {
550 . 'the request and subsequent retries resulted in the same '
555 $request['curl']['retries']++;
/plugin/bpmnio/test/
H A Ddocker-compose.yml18 retries: 5
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/.ci/
Drun-elasticsearch.sh17 # - Added 5 retries on docker pull for fixing transient network errors
113 --health-retries=20 \
/plugin/aichat/Model/
H A DAbstractModel.php39 /** @var int start time of the current request chain (may be multiple when retries needed) */
276 sleep($retry); // wait a bit between retries
294 // send request and handle retries
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/
DClientBuilder.asciidoc337 .`setRetries(int $retries)`
342 Set number or retries (default is equal to number of nodes)
/plugin/asciidocjs/node_modules/async/
Dretryable.js27 * with retries.
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/
DConnection.php283 // so we don't want to retrigger retries anyway.
294 $this->log->warning("Retries left? $shouldRetryText");
306 $this->log->warning("Out of retries, throwing exception from $node");
307 // Only throw if we run out of retries
/plugin/google_maps/
Dscript.js55 …alert("The maximum amount of retries (" + GMAPS_MAX_RETRY_COUNT + ") has been reached for location…
/plugin/aichat/
H A DAGENTS.md159 - API retries use exponential backoff (sleep for retry count seconds)

123