Skip to content

Commit

Permalink
remove messageAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jan 30, 2024
1 parent 6d9cbf4 commit 9eb9cca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libp2p/protocols/pubsub/pubsubpeer.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -405,7 +404,6 @@ proc new(T: typedesc[RpcMessageQueue]): T =
return T(
priorityQueue: newAsyncQueue[seq[byte]](),
nonPriorityQueue: newAsyncQueue[seq[byte]](),
messageAvailableEvent: newAsyncEvent(),
)

proc new*(
Expand Down

0 comments on commit 9eb9cca

Please sign in to comment.