سؤال

We're using v5.1.1212 of the NuGet package for Enterprise Library Transient Fault Handling along with EntityFramework 5 in our Net 4.5.1 application. Overall it works well for us with SQL Azure, however I would like to add a couple more SQL Azure error codes to the list that are considered retriable. Is that possible?

We see enough -1, -2 and 10054 errors from SQL Azure that I am comfortable retrying them. I realize the general guidance is not to retry the -2 errors (not sure on -1 and 10054) but the quantities we seem them in I feel it would benefit our app. Any idea how I might do this?

هل كانت مفيدة؟

المحلول

You can define a custom detection strategy. Alternatively, post your suggested codes to the Issue tracker on https://topaz.codeplex.com/ and someone from the project team or the community (yes, the project now accepts community contributions) will update the block.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top