Skip to content

Commit 998b8b6

Browse files
committed
switch to validateBuildWithDefaults
1 parent 2ec66d6 commit 998b8b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/uber/cadence/internal/replay/ReplayDecider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,7 @@ public HistoryEvent next() {
685685
.setExpiration(decisionTaskRemainingTime)
686686
.setInitialInterval(retryServiceOperationInitialInterval)
687687
.setMaximumInterval(retryServiceOperationMaxInterval)
688-
.setBackoffCoefficient(2)
689-
.build();
688+
.validateBuildWithDefaults();
690689

691690
GetWorkflowExecutionHistoryRequest request = new GetWorkflowExecutionHistoryRequest();
692691
request

0 commit comments

Comments
 (0)