I have a workflow with an activity that has a retry policy with parameters that cause it to retry for several hours which is what we want. There are several thousand workflows at any given time in the retry state.
If I want to change the activity retry policy to shorten the time it can retry, will this break the workflows that are running in a retry state? Or will they pick up the new policy and likely end because of the shortened interval?
So specifically, I want to change this to the settings below without breaking any workflows in progress.
var internalRetryPolicy = temporal.RetryPolicy{
InitialInterval: 1 * time.Second,
BackoffCoefficient: 2,
MaximumInterval: 30 * time.Second,
MaximumAttempts: 360,
}
var internalRetryPolicy = temporal.RetryPolicy{
InitialInterval: 1 * time.Second,
BackoffCoefficient: 2,
MaximumInterval: 30 * time.Second,
MaximumAttempts: 10,
}