We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23956da commit 9f7be0cCopy full SHA for 9f7be0c
1 file changed
src/sessions.ts
@@ -516,8 +516,7 @@ export class ClientSession
516
} catch (firstCommitError) {
517
this.commitAttempted = true;
518
519
- const remainingAttempts =
520
- this.clientOptions.maxAdaptiveRetries + 1 - operation.attemptsMade;
+ const remainingAttempts = this.clientOptions.maxAdaptiveRetries + 1 - operation.attemptsMade;
521
if (remainingAttempts <= 0) {
522
throw firstCommitError;
523
}
0 commit comments