Adjust internet download timeout
flahn opened this issue · comments
Florian Lahn commented
From: https://discuss.eodc.eu/t/timeout-error-during-download-of-large-data/185/5
We use download.file()
for downloading the data in download_results()
. There the default timeout is set to 60s in the global variables options("timeout")
. 60s is rather short and we should rethink the use of download.file in favor of some httr2 functions.
Florian Lahn commented
I needed to touch the function during implementations for sample data retrieval, so it made sense to solve this along the line.