$database→retryOptions()
Get the retry policy for queries that fail with a transient error
Returns $config->dbOptions['retry'] merged over the defaults:
maxTries(int): Max times a failed query is retried, or 0 to disable retries Default:3delayMs(int): Base delay in milliseconds, which grows linearly with each retry Default:100maxDelayMs(int): Max delay in milliseconds for any single retry Default:5000cliMaxTries(int): Max retries for lost connection errors when running from the command line, or 0 to use maxTries Default:0
Available since version 3.0.275.
Usage
$array = $database->retryOptions();Return value
array
$database methods and properties
API reference based on ProcessWire core version 3.0.275