Home
last modified time | relevance | path

Searched full:retry (Results 1 – 25 of 1255) sorted by relevance

12345678910>>...51

/third_party/node/deps/npm/node_modules/promise-retry/test/
Dtest.js7 describe('promise-retry', function () {
8 it('should call fn again if retry was called', function () {
11 return promiseRetry(function (retry) { argument
17 retry(new Error('foo'));
34 return promiseRetry(function (retry, number) { argument
41 retry(new Error('foo'));
55 it('should not retry on fulfillment if retry was not called', function () {
74 it('should not retry on rejection if retry was not called', function () {
93 it('should not retry on rejection if nr of retries is 0', function () {
96 return promiseRetry(function (retry) { argument
[all …]
/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-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
7 Help: Retry request if transient problems occur
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.
30 curl complies with the Retry-After: response header if one was present to know
31 when to issue the next retry (added in 7.66.0).
Dretry-max-time.md4 Long: retry-max-time
6 Help: Retry only within this period
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
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
/third_party/libwebsockets/include/libwebsockets/
Dlws-retry.h40 * \param retry: the retry backoff table we are using, or NULL for default
46 * next connection retry, according to the backoff table \p retry. *\p conceal is
51 * If \p retry is NULL, a default of 3s + (0..300ms jitter) is used. If it's
56 lws_retry_get_delay_ms(struct lws_context *context, const lws_retry_bo_t *retry,
64 * \param retry: the retry backoff table we are using, or NULL for default
68 * Helper that combines interpreting the retry table with scheduling a sul to
74 lws_sorted_usec_list_t *sul, const lws_retry_bo_t *retry,
78 * lws_retry_sul_schedule_retry_wsi() - retry sul schedule helper using wsi
80 * \param wsi: the wsi to set the hrtimer sul on to the next retry interval
85 * Helper that uses context, tid and retry policy from a wsi to call
[all …]
/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/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});
/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/skia/infra/bots/recipe_modules/run/examples/full.expected/
Dtest.json134 "name": "retry fail",
158 "name": "retry fail (attempt 2)",
182 "name": "retry fail (attempt 3)",
206 "name": "retry fail (attempt 4)",
230 "name": "retry fail (attempt 5)",
243 "name": "retry success",
267 "name": "retry success (attempt 2)",
291 "name": "retry success (attempt 3)"
296 … build steps: fail, fail again, retry fail, retry fail (attempt 2), retry fail (attempt 3), retry
/third_party/skia/infra/bots/recipe_modules/run/examples/
Dfull.py52 api.run.with_retry(api.step, 'retry fail', 5, cmd=['false'],
58 api.run.with_retry(api.step, 'retry success', 3, cmd=['false'],
78 api.step_data('retry fail', retcode=1) +
79 api.step_data('retry fail (attempt 2)', retcode=1) +
80 api.step_data('retry fail (attempt 3)', retcode=1) +
81 api.step_data('retry fail (attempt 4)', retcode=1) +
82 api.step_data('retry fail (attempt 5)', retcode=1) +
83 api.step_data('retry success', retcode=1) +
84 api.step_data('retry success (attempt 2)', retcode=1)
/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/data/
Dtest3666 retry
16 Retry-After: 200
30 HTTP --retry-max-time with too long Retry-After
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 2 --retry-max-time 10
Dtest16336 RETRY-AFTER
23 Retry-After: 1
37 Retry-After: 1
48 Retry-After: 1
62 --retry with a 429 response and Retry-After:
65 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -d moo --retry 1 -L
Dtest16346 RETRY-AFTER
15 Retry-After: 1
30 Retry-After: 1
48 --retry with a 429 response and Retry-After: and --fail
51 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 1 --fail
Dtest30106 RETRY-AFTER
18 Retry-After: 2
39 HTTP retry-after reset
53 Retry-After 2
54 Retry-After 0
/third_party/node/deps/npm/node_modules/promise-retry/
Dpackage.json2 "name": "promise-retry",
4 …"description": "Retries a function that returns a promise, leveraging the power of the retry modul…
10 "url": "https://github.com/IndigoUnited/node-promise-retry/issues/"
14 "url": "git://github.com/IndigoUnited/node-promise-retry.git"
17 "retry",
32 "retry": "^0.12.0" string
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-staticpolicy/
Dstatic-policy.json5 "retry": [{ array
55 "retry": "default", string
71 "retry": "default", string
91 "retry": "default", string
111 "retry": "default", string
134 "retry": "default", string
148 "retry": "default", string
161 "retry": "default", string
174 "retry": "default", string
188 "retry": "default" string
[all …]
/third_party/curl/tests/libtest/
Dlib1594.c25 /* Testing Retry-After header parser */
34 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()
357 error_msg("Retry limit exceeded."); 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()
[all …]
/third_party/node/deps/undici/src/lib/handler/
DRetryHandler.js18 // Retry scoped
19 retry: retryFn,
37 retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry], property
43 // What errors we should retry
45 // Indicates which errors to retry
47 // List of errors to retry
118 // Any code that is not a Undici's originated and allowed to retry
151 let retryAfterHeader = headers != null && headers['retry-after']
156 : retryAfterHeader * 1e3 // Retry-After is in seconds
303 this.retryOpts.retry(

12345678910>>...51