Skip to content

Commit

Permalink
prefetchCount default set to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
byerlikaya committed Jun 25, 2024
1 parent 7f9cbdd commit 914a335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Basic.RabbitMQ/Interfaces/IMessageConsumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public interface IMessageConsumer
{
IModel Channel(string queueName, string routingKey, ushort prefetchCount = 10);
IModel Channel(string queueName, string routingKey, ushort prefetchCount = 1);

AsyncEventingBasicConsumer GetConsumer(IModel channel);
}

0 comments on commit 914a335

Please sign in to comment.