Skip to content

Commit

Permalink
Update Example.MultiConsumers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgris committed Jan 23, 2024
1 parent 80958c2 commit 52c367b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/Example.MultiConsumers/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
logger.LogInformation("Program init");

// register BackgroundService
builder.Services.AddRabbitSubscriber<FirstConsumeService>("FooFirstQueueConsumer", consumerCount:1, enableLogging: false);
builder.Services.AddRabbitSubscriber<FirstConsumeService>("FooFirstQueueConsumer", consumerCount:2, enableLogging: false);
builder.Services.AddRabbitAsyncSubscriber<SecondConsumeService>("FooSecondQueueConsumer", consumerCount:2, enableLogging: false);

using IHost host = builder.Build();
Expand Down

0 comments on commit 52c367b

Please sign in to comment.