diff --git a/core/src/main/java/io/temporal/samples/polling/infrequentwithretryafter/InfrequentPollingWithRetryAfterActivityImpl.java b/core/src/main/java/io/temporal/samples/polling/infrequentwithretryafter/InfrequentPollingWithRetryAfterActivityImpl.java index e56b12aa..41cbba1f 100644 --- a/core/src/main/java/io/temporal/samples/polling/infrequentwithretryafter/InfrequentPollingWithRetryAfterActivityImpl.java +++ b/core/src/main/java/io/temporal/samples/polling/infrequentwithretryafter/InfrequentPollingWithRetryAfterActivityImpl.java @@ -55,7 +55,8 @@ public String doPoll() { e.getMessage(), e.getClass().getName(), e, - // here we set the next retry interval based on Retry-After duration given to us by our service + // here we set the next retry interval based on Retry-After duration given to us by our + // service Duration.ofMinutes(e.getRetryAfterInMinutes())); } }