% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cache.R
\name{aemo_throttle}
\alias{aemo_throttle}
\title{Configure request throttling}
\usage{
aemo_throttle(delay = 1)
}
\arguments{
\item{delay}{Numeric. Minimum delay between requests in
seconds. Internally this becomes \code{httr2::req_throttle(rate = 1/delay)}.}
}
\value{
Invisibly returns the previous value.
}
\description{
Controls the delay between successive NEMweb requests.
Defaults to 1 second (half a request per second).
}
\examples{
old <- aemo_throttle(0.5)  # 2 requests per second
aemo_throttle(old)         # restore
}
\seealso{
Other configuration: 
\code{\link{aemo_cache_info}()},
\code{\link{aemo_clear_cache}()}
}
\concept{configuration}
