Skip to content

Commit ab14311

Browse files
Removes redundant configuration that is set by defaults anyway (#126)
* Removes redundant configuration that is set by defaults anyway * Csharpier formatting
1 parent d140530 commit ab14311

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

BtmsGateway/Extensions/AmazonConsumerExtensions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ public static void AddAmazonConsumers(
1515
IConfiguration configuration
1616
)
1717
{
18-
messageBusBuilder
19-
.AddServicesFromAssemblyContaining<ClearanceDecisionConsumer>(consumerLifetime: ServiceLifetime.Scoped)
20-
.PerMessageScopeEnabled();
18+
messageBusBuilder.AddServicesFromAssemblyContaining<ClearanceDecisionConsumer>();
2119

2220
messageBusBuilder.WithProviderAmazonSQS(cfg =>
2321
{

0 commit comments

Comments
 (0)