Skip to content

feat: Add configuration option to specify functions for pruning / opening peer connections #2098

@maschad

Description

@maschad

As discussed with @wemeetagain and @achingbrain we should have a property on the Connection Manager Interface which accepts a function that will determine which peers should be pruned when above the maxConnections' threshold, as well as another function that will sort and determine which peers should be dialled by the dial-queue when the autoDialler is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/architectureCore architecture of projectkind/discussionTopical discussion; usually not changes to codebaseneed/analysisNeeds further analysis before proceeding

    Type

    No type

    Projects

    Status

    🛠️ Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions