1
0
mirror of synced 2024-11-05 02:59:16 +00:00

Fixed prefetchcount being applied to the incorrect channel

This commit is contained in:
Mark van Renswoude 2021-10-26 13:29:48 +02:00
parent 847e6a6d83
commit 017c4c130f

View File

@ -820,7 +820,7 @@ namespace Tapeti.Connection
}
if (connectionParams.PrefetchCount > 0)
capturedPublishChannelModel.BasicQos(0, connectionParams.PrefetchCount, false);
capturedConsumeChannelModel.BasicQos(0, connectionParams.PrefetchCount, false);
capturedPublishChannelModel.ModelShutdown += (_, e) =>
{