-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Labels
Description
Lesson learned from rstudio::conf 2020.
If the internet is functional but slow, use_course() can timeout. It inherits the default timeout from curl.
But I could possibly afford some way to set a longer timeout in an individual call or to do so globally via an env var or option.
Timeout can be set on the handle, i.e. h <- new_handle(timeout = 10) right around here:
Line 208 in 4cae785
| h <- curl::new_handle(noprogress = FALSE, progressfunction = progress_fun) |