% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/config.R
\name{pizzarr_config}
\alias{pizzarr_config}
\title{Get or set pizzarr configuration}
\usage{
pizzarr_config(
  nthreads = NULL,
  concurrent_target = NULL,
  http_batch_range_requests = NULL
)
}
\arguments{
\item{nthreads}{Integer or NULL. Number of threads for the rayon thread
pool. NULL uses all CPUs (the default). The pool can only be initialised
once per R session; later changes require a restart. Use the
\code{PIZZARR_NTHREADS} environment variable for reliable session-level
control.}

\item{concurrent_target}{Integer or NULL. Codec concurrency level — how
many codec operations zarrs runs in parallel within a single read/write
call. NULL uses the zarrs default (CPU count). Can be changed at any time.}

\item{http_batch_range_requests}{Logical or NULL. Whether HTTP stores use
multipart range requests (default TRUE). Set to FALSE for servers with
incomplete multipart range support. Takes effect on the next
\code{zarr_open()} or \code{zarrs_get_subset()} call that opens a new
HTTP store; existing cached stores are not affected (use
\code{zarrs_close_store(url)} to force re-creation).}
}
\value{
When called with no arguments, a named list of current settings.
When called with arguments, the previous values (invisibly).
}
\description{
Controls parallelism and HTTP behaviour for the zarrs backend.
Called with no arguments, returns the current settings as a named list.
Called with arguments, sets the specified options and applies them to
the Rust backend immediately.
}
