pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Limit calls to Topic.Publish when libp2p pubsub buffers are full

Open lthibault opened this issue 3 years ago • 0 comments

We're currently observing a fair number of undeliverable messages when using the pubsub capability. At a glance, it seems like we should be able to combine libp2p's pubsub.Tracer interface and a semaphore.Weighted to block Publish calls when the receiver's queue is full.

lthibault avatar Nov 16 '22 02:11 lthibault