property ClientOptions.maxPendingRequests

Maximum pending requests in the queue

This is used to limit the number of requests that can be made at the same time

If the queue is full, requests will drop and return a 503 Service Unavailable response

If the request is cached, it won't be counted as a pending request

Default 0 (no limit)

Type

number

Usage

import { type ClientOptions } from ".";