remove messageAvailable

This commit is contained in:
Diego 2024-01-25 14:36:39 +01:00
parent 6d9cbf4bec
commit 9eb9ccac19
No known key found for this signature in database
GPG Key ID: C9DAC9BF68D1F806
1 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ type
RpcMessageQueue* = ref object
priorityQueue: AsyncQueue[seq[byte]]
nonPriorityQueue: AsyncQueue[seq[byte]]
messageAvailableEvent: AsyncEvent
queueProcessingTask: Future[void]
isProcessing: bool # Flag to indicate if processing is underway
@ -405,7 +404,6 @@ proc new(T: typedesc[RpcMessageQueue]): T =
return T(
priorityQueue: newAsyncQueue[seq[byte]](),
nonPriorityQueue: newAsyncQueue[seq[byte]](),
messageAvailableEvent: newAsyncEvent(),
)
proc new*(