You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eh, it's a little interesting, because you may want to retry a deadlock a few milliseconds later, whereas I could see you waiting a second or so for connection issues. So I personally don't need them all bundled together. Or rather, it might be correct to return true for CanRetry() on a code 1213 error, I would just need to use the lower-level API.
Nice package :)
I'm wondering if
CanRetry()
should return true for error code 1213? The message isDeadlock found when trying to get lock; try restarting transaction
.I can send a PR if this looks favorable.
The text was updated successfully, but these errors were encountered: