py-libp2p/libp2p/pubsub
mhchia c3ba67ea87
Remove locks in PubsubNotifee
- Change `open_memory_channel(0)` to `open_memory_channel(math.inf)`, to
avoid `peer_queue.send` and `dead_peer_queue.send` blocking. This allows
us to remove the locks.
- Only catch `trio.BrokenResourceError`, which is caused by Pubsub when
it's closing.
2020-01-27 14:30:44 +08:00
..
pb Re-generate protobufs 2019-10-25 18:51:57 +09:00
__init__.py [WIP] PubSub and FloodSub development (#133) 2019-03-23 13:52:02 -04:00
abc.py Fix IPubsub and add IPubsub.wait_until_ready 2020-01-27 00:10:33 +08:00
exceptions.py Fix security module 2019-12-07 00:14:01 +08:00
floodsub.py Merge branch 'master' into feature/porting-to-trio 2019-12-24 02:19:43 +08:00
gossipsub.py Merge branch 'master' into feature/porting-to-trio 2019-12-24 02:19:43 +08:00
mcache.py Replace (check and) del pattern with pop method 2019-11-20 23:06:37 +08:00
pubsub_notifee.py Remove locks in PubsubNotifee 2020-01-27 14:30:44 +08:00
pubsub.py Remove locks in PubsubNotifee 2020-01-27 14:30:44 +08:00
subscription.py Add SubscriptionAPI 2019-12-17 18:17:28 +08:00
typing.py Fix IPubsub and add IPubsub.wait_until_ready 2020-01-27 00:10:33 +08:00
validators.py Apply PR feedback: 2019-11-29 19:37:48 +08:00