fix: broken access to DB document
This commit is contained in:
parent
e70d32d532
commit
c98b204562
2 changed files with 2 additions and 2 deletions
|
@ -10,5 +10,5 @@ public class WonderkingContext : CouchContext
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public CouchDatabase<Account> Accounts { get; }
|
public CouchDatabase<Account> Accounts { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class PacketDistributorService : IHostedService
|
||||||
public void AddPacket(RawPacket rawPacket)
|
public void AddPacket(RawPacket rawPacket)
|
||||||
{
|
{
|
||||||
this.concurrentQueue.Enqueue(rawPacket);
|
this.concurrentQueue.Enqueue(rawPacket);
|
||||||
Task.Run(() => this.DequeueRawPacketAsync());
|
Task.Run(this.DequeueRawPacketAsync);
|
||||||
this.logger.LogInformation("Packet with ID: {MessageOperationCode} has been received",
|
this.logger.LogInformation("Packet with ID: {MessageOperationCode} has been received",
|
||||||
rawPacket.OperationCode);
|
rawPacket.OperationCode);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue