xref: /aosp_15_r20/external/curl/docs/cmdline-opts/retry-delay.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: retry-delay
5Arg: <seconds>
6Help: Wait time between retries
7Added: 7.12.3
8Category: curl timeout
9Multi: single
10See-also:
11  - retry
12Example:
13  - --retry-delay 5 --retry 7 $URL
14---
15
16# `--retry-delay`
17
18Make curl sleep this amount of time before each retry when a transfer has
19failed with a transient error (it changes the default backoff time algorithm
20between retries). This option is only interesting if --retry is also
21used. Setting this delay to zero makes curl use the default backoff time.
22