Skip to content

Commit

Permalink
remove messageAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jan 26, 2024
1 parent 3ee1eb4 commit c70f88f
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 @@ -59,7 +59,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 @@ -412,7 +411,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 c70f88f

Please sign in to comment.