Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor race prevention: do not mutate callers' retry policy (#1413)
Concurrently calling `workflow.WithActivityOptions` with a shared retry policy instance that does not set a backoff coefficient can trigger a race because this function mutated it unnecessarily. The fix is easy: just don't do that :) There's no benefit to mutating it, and many downsides.
- Loading branch information