core.medplumclientoptions.maxretries
Home > @medplum/core > MedplumClientOptions > maxRetries
MedplumClientOptions.maxRetries property
The maximum number of retries for failed requests.
When the client encounters a retryable response (HTTP 429 or 5xx), it will automatically retry the request. This setting defines the maximum number of retry attempts.
This can be overridden per-request using the maxRetries option in MedplumRequestOptions.
Default value is 2.
Signature:
maxRetries?: number;