mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-21 09:08:17 +00:00
remove messageAvailable
This commit is contained in:
parent
6d9cbf4bec
commit
9eb9ccac19
@ -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*(
|
||||
|
Loading…
x
Reference in New Issue
Block a user