quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

max-time.md (888B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: max-time
      5 Short: m
      6 Arg: <seconds>
      7 Help: Maximum time allowed for transfer
      8 Category: connection timeout
      9 Added: 4.0
     10 Multi: single
     11 See-also:
     12   - connect-timeout
     13   - retry-max-time
     14 Example:
     15   - --max-time 10 $URL
     16   - --max-time 2.92 $URL
     17 ---
     18 
     19 # `--max-time`
     20 
     21 Set the maximum time in seconds that you allow each transfer to take. Prevents
     22 your batch jobs from hanging for hours due to slow networks or links going
     23 down. This option accepts decimal values (added in 7.32.0).
     24 
     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.
     28 
     29 The decimal value needs to be provided using a dot (.) as decimal separator -
     30 not the local version even if it might be using another separator.