fix consumer from Event to AsyncEvent
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m42s

This commit is contained in:
Suphonchai Phoonsawat 2026-04-30 11:53:53 +07:00
parent ffcf95c210
commit 4e2113eef2

View file

@ -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) =>
{