Skip to content

Commit 098b4b4

Browse files
nhachichastIncMale
andcommitted
Update driver-core/src/main/com/mongodb/internal/ExponentialBackoff.java
Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
1 parent 365f054 commit 098b4b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

driver-core/src/main/com/mongodb/internal/ExponentialBackoff.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public ExponentialBackoff(final double baseBackoffMs, final double maxBackoffMs,
6969

7070
/**
7171
* Creates a backoff instance configured for withTransaction retries.
72-
* Uses: 5ms base, 500ms max, 1.5 growth factor.
72+
* Uses: {@value TRANSACTION_BASE_BACKOFF_MS} ms base, {@value TRANSACTION_MAX_BACKOFF_MS} ms max,
73+
* {@value TRANSACTION_BACKOFF_GROWTH} growth factor.
7374
*
7475
* @return ExponentialBackoff configured for transaction retries
7576
*/

0 commit comments

Comments
 (0)