% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shared__helpers.R
\name{configure_tor_registry}
\alias{configure_tor_registry}
\title{Configure Tor Exit Registry}
\usage{
configure_tor_registry(
  registry_path = NULL,
  enable = ASA_TOR_REGISTRY_ENABLED,
  bad_ttl = ASA_TOR_BAD_TTL,
  good_ttl = ASA_TOR_GOOD_TTL,
  overuse_threshold = ASA_TOR_OVERUSE_THRESHOLD,
  overuse_decay = ASA_TOR_OVERUSE_DECAY,
  max_rotation_attempts = ASA_TOR_MAX_ROTATION_ATTEMPTS,
  ip_cache_ttl = ASA_TOR_IP_CACHE_TTL,
  conda_env = NULL
)
}
\arguments{
\item{registry_path}{Path to the SQLite registry file (default: user cache).}

\item{enable}{Enable the registry (set FALSE to disable tracking).}

\item{bad_ttl}{Seconds to keep a bad/tainted exit before reuse.}

\item{good_ttl}{Seconds to treat an exit as good before refreshing.}

\item{overuse_threshold}{Maximum recent uses before a good exit is treated as overloaded.}

\item{overuse_decay}{Window (seconds) for counting recent uses before decay.}

\item{max_rotation_attempts}{Maximum rotations to find a clean exit.}

\item{ip_cache_ttl}{Seconds to cache exit IP lookups.}

\item{conda_env}{Conda environment name for the Python module. Defaults to
the package option \code{asa.default_conda_env} (or \code{"asa_env"} if unset).}
}
\value{
Invisibly returns a list of the configured values (or NULL on error).
}
\description{
Sets up the shared Tor exit health registry used by the Python search stack
to avoid reusing tainted or overused exit nodes.
}
