Skip to content

setMaxRetryCount

setMaxRetryCount(count): void

Defined in: .work/repos/edinburgh/src/edinburgh.ts:244

Set the maximum number of retries for a transaction in case of conflicts. The default value is 6. Setting it to 0 will disable retries and cause transactions to fail immediately on conflict.

number

The maximum number of retries for a transaction.

void