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
..
2020-01-26 16:44:42 +08:00
2020-01-26 23:09:56 +08:00
2019-12-24 18:03:18 +08:00
2020-01-27 14:30:44 +08:00
2019-12-06 14:14:33 +08:00
2020-01-26 23:03:38 +08:00
2020-01-26 16:44:42 +08:00
2019-12-17 12:00:11 +01:00
2019-11-29 19:09:56 +08:00