297
CHAPTER 7 | Implement resilient applications
options.
UseSqlServer
(builder.
Configuration
[
"ConnectionString"
],
sqlServerOptionsAction: sqlOptions =>
{
sqlOptions.
EnableRetryOnFailure
(
maxRetryCount:
10
,
maxRetryDelay: TimeSpan.
FromSeconds
(
30
),
errorNumbersToAdd:
Dostları ilə paylaş: