Open
Description
None of the four available overloads allow to pass just the max retry count (int
) and max delay (TimeSpan
). The closest fit to this, is an overload that accepts (int, TimeSpan, ICollection<string>?)
where the last parameter is errorCodesToAdd
.
Since the purpose of the parameter errorCodesToAdd
is unclear and the use of the backing field seems to be a work in progress per the TODO comment at the bottom of NpgsqlRetryingExecutionStrategy.cs, there should be an overload that ignores the existence of said field.