Home
last modified time | relevance | path

Searched refs:retry (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js11 return promiseRetry(function (retry) { argument
17 retry(new Error('foo'));
34 return promiseRetry(function (retry, number) { argument
41 retry(new Error('foo'));
96 return promiseRetry(function (retry) { argument
103 .catch(retry);
116 return promiseRetry(function (retry) { argument
123 .catch(retry);
136 return promiseRetry(function (retry) { argument
141 retry(new Error('foo'));
[all …]
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/
Doptions.js16 if (!options.retry) {
17 options.retry = { retries: 0 }
18 } else if (typeof options.retry === 'string') {
19 const retries = parseInt(options.retry, 10)
21 options.retry = { retries }
23 options.retry = { retries: 0 }
25 } else if (typeof options.retry === 'number') {
26 options.retry = { retries: options.retry }
28 options.retry = { retries: 0, ...options.retry }
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-operation.js4 var retry = require(common.dir.lib + '/retry'); variable
8 var operation = retry.operation([1, 2, 3]);
21 if (operation.retry(error)) {
46 var operation = retry.operation();
57 var operation = retry.operation();
69 var operation = retry.operation();
80 var operation = retry.operation();
96 var operation = retry.operation([1, 2, 3]);
106 if (operation.retry(error)) {
122 var operation = retry.operation({ retries: 3, forever: true });
[all …]
Dtest-timeouts.js3 var retry = require(common.dir.lib + '/retry'); variable
6 var timeouts = retry.timeouts();
16 var timeouts = retry.timeouts({
29 var timeouts = retry.timeouts(timeoutsArray);
37 var timeouts = retry.timeouts({
48 var timeouts = retry.timeouts();
57 var timeouts = retry.timeouts({
67 var timeouts = retry.timeouts({retries: 2});
Dtest-retry-wrap.js4 var retry = require(common.dir.lib + '/retry'); variable
16 retry.wrap(lib);
24 retry.wrap(lib, {retries: 2});
35 retry.wrap(lib, ['fn2', 'fn3']);
43 retry.wrap(lib, {retries: 2}, ['fn2', 'fn3']);
59 retry.wrap(lib);
80 retry.wrap(lib, {}, ['fn1', 'fn2']);
95 retry.wrap(lib, {retries: 1});
Dtest-forever.js3 var retry = require(common.dir.lib + '/retry'); variable
6 var operation = retry.operation({
20 if (operation.retry(err)) {
/third_party/curl/docs/cmdline-opts/
Dretry-connrefused.md4 Long: retry-connrefused
5 Help: Retry on connection refused (use with --retry)
10 - retry
11 - retry-all-errors
13 - --retry-connrefused --retry 7 $URL
16 # `--retry-connrefused`
19 error too for --retry. This option is used together with --retry.
Dretry-delay.md4 Long: retry-delay
11 - retry
13 - --retry-delay 5 --retry 7 $URL
16 # `--retry-delay`
18 Make curl sleep this amount of time before each retry when a transfer has
20 between retries). This option is only interesting if --retry is also
Dretry-all-errors.md4 Long: retry-all-errors
5 Help: Retry all errors (use with --retry)
10 - retry
12 - --retry 5 --retry-all-errors $URL
15 # `--retry-all-errors`
17 Retry on any error. This option is used together with --retry.
25 **WARNING**: For server compatibility curl attempts to retry failed flaky
37 not an error. When --retry is used then curl retries on some HTTP response
39 response codes such as 404. If you want to retry on all response codes that
Dretry.md4 Long: retry
11 - retry-max-time
13 - --retry 7 $URL
16 # `--retry`
24 When curl is about to retry a transfer, it first waits one second and then for
27 --retry-delay you disable this exponential backoff algorithm. See also
28 --retry-max-time to limit the total time allowed for retries.
31 when to issue the next retry (added in 7.66.0).
Dretry-max-time.md4 Long: retry-max-time
11 - retry
13 - --retry-max-time 30 --retry 10 $URL
16 # `--retry-max-time`
18 The retry timer is reset before the first transfer attempt. Retries are done
19 as usual (see --retry) as long as the timer has not reached this given
Dmax-time.md13 - retry-max-time
25 If you enable retrying the transfer (--retry) then the maximum time counter is
26 reset each time the transfer is retried. You can use --retry-max-time to limit
27 the retry time.
/third_party/node/deps/undici/src/docs/api/
DRetryHandler.md5 A handler class that implements the retry logic for a request.
12 …ndlers` (required) - Object containing the `dispatch` to be used on every retry, and `handler` for…
22 … **retry** `(err: Error, context: RetryContext, callback: (err?: Error | null) => void) => void` (…
26 - **timeoutFactor** `number` (optional) - Factor to multiply the timeout by for each retry attempt.…
27 - **retryAfter** `boolean` (optional) - It enables automatic retry after the `Retry-After` header i…
29 - **methods** `string[]` (optional) - Array of HTTP methods to retry. Default: `['GET', 'PUT', 'HEA…
30 - **statusCodes** `number[]` (optional) - Array of HTTP status codes to retry. Default: `[429, 500,…
31 - **errorCodes** `string[]` (optional) - Array of Error codes to retry. Default: `['ECONNRESET', 'E…
35 - `state`: `RetryState` - Current retry state. It can be mutated.
36 - `opts`: `Dispatch.DispatchOptions & RetryOptions` - Options passed to the retry handler.
[all …]
/third_party/ffmpeg/libavutil/tests/
Drandom_seed.c33 int i, j, rsf, retry; in main() local
38 for (retry=0; retry<3; retry++){ in main()
43 goto retry; in main()
47 retry:; in main()
49 if (retry >= 3) { in main()
/third_party/curl/tests/libtest/
Dlib1594.c34 curl_off_t retry; in test() local
48 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test()
55 retry += time(NULL); in test()
56 retry /= 10000; in test()
58 printf("Retry-After %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
/third_party/toybox/toys/pending/
Dtftp.c219 int packetlen, retry; in read_ack() local
221 for (retry = 0; retry < TFTP_RETRIES; retry++) { in read_ack()
272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; in file_get() local
290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) { in file_get()
302 retry--; in file_get()
314 retry--; in file_get()
356 if (retry == TFTP_RETRIES) { in file_get()
388 int packetlen, sd, fd, retry = 0, ret, result = -1; in file_put() local
399 if (++retry > TFTP_RETRIES) { in file_put()
416 retry = 0; in file_put()
[all …]
/third_party/openssl/doc/man3/
DBIO_should_retry.pod7 BIO_get_retry_BIO, BIO_get_retry_reason, BIO_set_retry_reason - BIO retry
36 has insufficient data to return. Check for readability and/or retry the
40 has pending data to write. Check for writability and/or retry the
46 BIO_retry_type() returns a mask of the cause of a retry condition
60 BIO_set_retry_reason() sets the retry reason for a special condition for a given
78 BIO types will not request a retry, because the underlying I/O
80 signal a retry then it need not call BIO_should_retry() after a failed
84 retry even if the underlying I/O structure is blocking, if a handshake
85 occurs during a call to BIO_read(). An application can retry the failed
89 While an application may retry a failed non blocking call immediately
[all …]
/third_party/node/deps/npm/node_modules/sigstore/dist/
Dconfig.js72 retry: options.retry ?? exports.DEFAULT_RETRY, property
96 retry: options.retry ?? exports.DEFAULT_RETRY, property
103 retry: options.retry ?? exports.DEFAULT_RETRY, property
/third_party/alsa-utils/alsactl/
Dmonitor.c165 static int check_control_cdev(int infd, bool *retry) in check_control_cdev() argument
190 *retry = true; in check_control_cdev()
302 bool *retry) in run_dispatcher() argument
338 err = check_control_cdev(infd, retry); in run_dispatcher()
339 if (err < 0 || *retry) in run_dispatcher()
398 bool retry; in monitor() local
421 retry: in monitor()
422 retry = false; in monitor()
429 err = run_dispatcher(epfd, sigfd, infd, &srcs, &retry); in monitor()
432 if (retry) { in monitor()
[all …]
/third_party/curl/tests/data/
Dtest12694 --retry-delay
20 too large --retry-delay value
23 --retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
Dtest3666 retry
30 HTTP --retry-max-time with too long Retry-After
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 2 --retry-max-time 10
Dtest19096 retry
36 HTTP GET --retry-all-errors to overcome partial transfer
39 --retry 1 --retry-all-errors -o %LOGDIR/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
/third_party/openssl/test/ssl-tests/
D03-custom_verify.cnf8 test-3 = 3-verify-custom-retry
95 [3-verify-custom-retry]
96 ssl_conf = 3-verify-custom-retry-ssl
98 [3-verify-custom-retry-ssl]
99 server = 3-verify-custom-retry-server
100 client = 3-verify-custom-retry-client
102 [3-verify-custom-retry-server]
107 [3-verify-custom-retry-client]
114 client = 3-verify-custom-retry-client-extra
116 [3-verify-custom-retry-client-extra]
/third_party/openssl/test/
Drdrand_sanitytest.c34 int retry; in sanity_check_bytes() local
35 for (retry = 0; retry < max_retries; retry++) { in sanity_check_bytes()
/third_party/node/deps/npm/node_modules/tuf-js/dist/
Dfetcher.js60 this.retry = options.retry;
66 retry: this.retry, property

12345678910>>...19