Skip to content

error:both MaximumAttempts and ExpirationIntervalInSeconds on retry policy are not set, at least one of them must be set #4367

Answered by zhangkyou
Johnite asked this question in Q&A
Discussion options

You must be logged in to vote

The answer is obviously in the error report. You must set either MaximumAttempts or ExpirationIntervalInSeconds parameters in ActivityOptions's RetryPolicy config.That two parameters decide your activity execute retry end with MaximumAttempts times or timeout with ExpirationIntervalInSeconds.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@longquanzheng
Comment options

Answer selected by longquanzheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants