mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 02:20:20 +08:00
Update PersistMessageProcessor
This commit is contained in:
parent
196f0a0a17
commit
a6957c272c
@ -18,7 +18,7 @@ public class PersistMessageProcessor : IPersistMessageProcessor
|
||||
private readonly IMediator _mediator;
|
||||
private readonly IPersistMessageDbContext _persistMessageDbContext;
|
||||
private readonly IPublishEndpoint _publishEndpoint;
|
||||
private static SemaphoreSlim Semaphore => new SemaphoreSlim(initialCount: 0, maxCount: 1);
|
||||
private SemaphoreSlim Semaphore => new SemaphoreSlim(1);
|
||||
|
||||
public PersistMessageProcessor(
|
||||
ILogger<PersistMessageProcessor> logger,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user