Skip to content

Commit 1c4bc0b

Browse files
authored
docs: fix wrong multiplier value in retry delay function example (#864)
1 parent 7452f9b commit 1c4bc0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ You can access the retry count of a record through it's wrapped `WorkContainer`
794794
.Example retry delay function implementing exponential backoff
795795
[source,java,indent=0]
796796
----
797-
final double multiplier = 0.5;
797+
final double multiplier = 2.0;
798798
final int baseDelaySecond = 1;
799799
800800
ParallelConsumerOptions.<String, String>builder()

0 commit comments

Comments
 (0)