Skip to content

Add support for TTL (Time-To-Live) for inactive peers #97

@blafry

Description

@blafry

🚀 Feature Request

It would be great to have a configurable TTL (Time-To-Live) mechanism for peers in the Wormhole network.

🧠 Motivation

Currently, once a peer connects, it stays registered indefinitely unless explicitly removed. In some use cases, this can lead to a buildup of stale or inactive peers over time. This may impact network cleanliness, memory usage, or overall peer management.

💡 Proposed Solution

Introduce an optional TTL setting for peers. After a peer has been inactive for a configurable amount of time (e.g. X hours), it should be automatically removed from the peer list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions