1
0
mirror of synced 2024-11-24 09:50:11 +00:00

Merge branch 'release/1.3.3'

This commit is contained in:
Mark van Renswoude 2019-09-10 19:01:32 +02:00
commit 8888af3d0f

View File

@ -26,9 +26,12 @@ namespace Tapeti.Connection
}
public Task RebindQueues()
public async Task RebindQueues()
{
return BindQueues();
await BindQueues();
if (consuming)
await Task.WhenAll(queues.Select(queue => workerFactory().Consume(queue.Name, queue.Bindings)).ToList());
}