Skip to content

Commit

Permalink
might as well fail fast on this
Browse files Browse the repository at this point in the history
  • Loading branch information
mookid8000 committed Apr 4, 2024
1 parent af552a8 commit 94a11fe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Rebus.Activation;
using Rebus.Config;
using Rebus.Encryption;
using Rebus.Retry.FailFast;
using Rebus.Retry.Simple;
using Rebus.Tests.Contracts;
using Rebus.Tests.Contracts.Extensions;
Expand Down Expand Up @@ -39,6 +40,7 @@ public async Task ItWorks()
{
o.RetryStrategy(secondLevelRetriesEnabled: true);
o.EnableEncryption(SecretKey);
o.FailFastOn<IndexOutOfRangeException>();
})
.Start();

Expand Down

0 comments on commit 94a11fe

Please sign in to comment.