Skip to content

Commit c6c2042

Browse files
committed
Process messages from peers in parallel in PeerManager.
This adds the required locking to process messages from different peers simultaneously in `PeerManager`. Note that channel messages are still processed under a global lock in `ChannelManager`, and most work is still processed under a global lock in gossip message handling, but parallelizing message deserialization and message decryption is somewhat helpful. Further, the next commit will somewhat parallelize the CPU-intensive parts of gossip message handling.
1 parent 57b7171 commit c6c2042

File tree

1 file changed

+97
-84
lines changed

1 file changed

+97
-84
lines changed

0 commit comments

Comments
 (0)