fix consumer from Event to AsyncEvent
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m42s
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m42s
This commit is contained in:
parent
ffcf95c210
commit
4e2113eef2
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ channel.QueueDeclare(queue: queue, durable: true, exclusive: false, autoDelete:
|
|||
using var httpClient = new HttpClient();
|
||||
httpClient.Timeout = TimeSpan.FromSeconds(300); // 5 นาที
|
||||
|
||||
var consumer = new EventingBasicConsumer(channel);
|
||||
var consumer = new AsyncEventingBasicConsumer(channel);
|
||||
|
||||
consumer.Received += async (model, ea) =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue