Skip to content

Commit cfee369

Browse files
committed
hotfix: retry timing
1 parent edd6fe0 commit cfee369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/aux_data_utils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ get_s3_object_last_modified <- function(key, bucket, missing_value = MIN_TIMESTA
785785
get_socrata_updated_at <- function(dataset_url, missing_value = MAX_TIMESTAMP) {
786786
tryCatch(
787787
{
788-
httr::with_config(httr::config(timeout = 30), httr::RETRY("GET", dataset_url, times = 10, pause_min = 5)) %>%
788+
httr::with_config(httr::config(timeout = 5), httr::RETRY("GET", dataset_url, times = 5, pause_min = 5, pause_cap = 5)) %>%
789789
httr::content() %>%
790790
# This field comes in as integer seconds since epoch, so we need to convert it.
791791
pluck("rowsUpdatedAt") %>%

0 commit comments

Comments
 (0)