From 276186f2aa25163cb43e19537f0fd19dafb3ade5 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 5 Dec 2023 18:53:29 +0100 Subject: [PATCH] increase timeout --- r/tools/nixlibs.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/r/tools/nixlibs.R b/r/tools/nixlibs.R index 161cea3abd823..f4ae7312d3757 100644 --- a/r/tools/nixlibs.R +++ b/r/tools/nixlibs.R @@ -81,8 +81,9 @@ find_latest_nightly <- function(description_version, try_download <- function(from_url, to_file, hush = quietly) { # We download some fairly large files, so ensure the timeout is set appropriately. # This assumes a static library size of 100 MB (generous) and a download speed - # of 1 MB/s (slow). - opts <- options(timeout = max(100, getOption("timeout"))) + # of .3 MB/s (slow). This is to anticipate slower user connections or load on + # artifactory servers. + opts <- options(timeout = max(300, getOption("timeout"))) on.exit(options(opts)) status <- try(