Skip to content

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

@lthibault

Description

@lthibault

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions