Skip to content

Commit

Permalink
feat: set ConsumerDispatchConcurrency to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Dec 19, 2024
1 parent ac0b1db commit 86407bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static void AddRabbitMq(this IServiceCollection services, Action<RabbitMq

var factory = new ConnectionFactory
{
HostName = options.HostName
HostName = options.HostName, ConsumerDispatchConcurrency = 5
};

if (!string.IsNullOrEmpty(options.Username)) factory.UserName = options.Username;
Expand Down

0 comments on commit 86407bd

Please sign in to comment.