When there is a failure while executing the transaction like OCC or any other retryable failure, the driver will try running your transaction block again. This parameter tells the driver how many times to retry when there are failures. The value must be greater than 0. The default value is 4. See https://docs.aws.amazon.com/qldb/latest/developerguide/driver.best-practices.html#driver.best-practices.configuring for more details.
A custom function that accepts a retry count, error, transaction id and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value the backoff will be considered to be zero. If no backoff function is provided then defaultBackoffFunction will be used.
Private
_backoffPrivate
_retryGenerated using TypeDoc
Retry and Backoff config for Qldb Driver.
Throws
RangeError if
retryLimit
is less than 0.