We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7876573 commit d4649d9Copy full SHA for d4649d9
Stores/SqlServer/Cleipnir.ResilientFunctions.SqlServer/SqlServerMessageStore.cs
@@ -71,7 +71,7 @@ INSERT INTO {tablePrefix}_Messages
71
}
72
catch (SqlException e)
73
{
74
- if (depth == 10 || e.Number != SqlError.DEADLOCK_VICTIM)
+ if (depth == 10 || (e.Number != SqlError.DEADLOCK_VICTIM && e.Number != SqlError.UNIQUENESS_VIOLATION))
75
throw;
76
77
// ReSharper disable once DisposeOnUsingVariable
0 commit comments