metrumresearchgroup / pkgr

R package installation and management - reimagined.
https://metrumresearchgroup.github.io/pkgr/docs
39 stars 4 forks source link

partial response to #163 to add retries for dls #389

Open dpastoor opened 3 years ago

dpastoor commented 3 years ago

This does 2 things:

  1. it potentially allows the dl concurrency to be bound for servers that don't want to accept too many concurrent connections by setting PKGR_DL_CONCURRENCY to some integer value (or the flip side make it larger)
  2. implements retries and will retry 3 times

still TODO: bubble up the failing errors to cause pkgr to completely error out sooner

@bschulth let me know if you'd like to give this a try asap and I can cut a pre-release, else will consider how to test these a little bit