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
..
2019-10-25 18:51:57 +09:00
2019-12-07 00:14:01 +08:00
2020-01-27 14:30:44 +08:00
2019-12-17 18:17:28 +08:00
2019-11-29 19:37:48 +08:00