Add overload EnableRetryOnFailure
that allows specifying errorCodesToAdd
without count / delay
#27074
Labels
area-query
area-save-changes
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
community-contribution
customer-reported
good first issue
This issue should be relatively straightforward to fix.
type-enhancement
Milestone
I'd like a way to call
SqlServerDbContextOptionsBuilder.EnableRetryOnFailure
witherrorCodesToAdd
without forcingmaxRetryCount
andmaxRetryDelay
to be added.I want to keep the latter two default, so I copied the values from ExecutionStrategy as they're protected and so not visible externally, but it would be nicer if I didn't have to do this and could just specify the
errorCodesToAdd
property I'm interested in.Initially reported at npgsql/efcore.pg#2048. There is some discussion there.
The text was updated successfully, but these errors were encountered: