bs_retry_options: bs_search retry options

Description Usage Arguments Details Value

View source: R/bs_search.R

Description

bs_search retry options

Usage

1
2
3
4
5
6
7
8
9
bs_retry_options(
  pause_base = 1,
  pause_cap = 60,
  pause_min = 1,
  times = 3,
  terminate_on = NULL,
  retry_only_on = NULL,
  onwait = NULL
)

Arguments

pause_base, pause_cap, pause_min

basis, maximum, and minimum for calculating wait time for retry.

times

the maximum number of times to retry.

terminate_on, retry_only_on

a vector of HTTP status codes.

onwait

a callback function if the request will be retried and a wait time is being applied.

Details

see crul::HttpClient for more detailed explanation of these parameters

Value

a named list with the parameters given to this function


rbace documentation built on Jan. 13, 2021, 6:08 a.m.