Skip to content

Commit

Permalink
Make sure that long running activity are not retried (#19452)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau authored Nov 15, 2022
1 parent 63ccc32 commit e836869
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public ActivityOptions specActivityOptions() {
public RetryOptions containerOrchestratorRetryOptions() {
return RetryOptions.newBuilder()
.setDoNotRetry(RuntimeException.class.getName(), WorkerException.class.getName())
.setMaximumAttempts(1)
.build();
}

Expand Down

0 comments on commit e836869

Please sign in to comment.