mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-18 07:46:42 +00:00
separate iwant replies from control msgs and put them in the non-priority queue
This commit is contained in:
parent
297c7ebc25
commit
878362b03f
@ -305,7 +305,10 @@ proc handleControl(g: GossipSub, peer: PubSubPeer, control: ControlMessage) =
|
||||
trace "sending control message", msg = shortLog(respControl), peer
|
||||
g.send(
|
||||
peer,
|
||||
RPCMsg(control: some(respControl), messages: messages), true)
|
||||
RPCMsg(control: some(respControl)), true)
|
||||
g.send(
|
||||
peer,
|
||||
RPCMsg(messages: messages), false)
|
||||
|
||||
proc validateAndRelay(g: GossipSub,
|
||||
msg: Message,
|
||||
|
Loading…
x
Reference in New Issue
Block a user