chore: restrict package index update parallelism to 4 workers

This commit is contained in:
Patrick Schratz 2025-02-11 14:22:37 +01:00
commit 41fba0290d
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -38,7 +38,7 @@ steps:
- R -q -e 'pak::pak("pat-s/desc@description-from-remote")'
- R -q -e 'packageVersion("bincraftR")'
- cd /mnt/cache/packages
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession"); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index(codename = "rhel8")'
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession", workers = 4); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index(codename = "rhel8")'
backend_options:
kubernetes:
resources: