Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Network max connections and peer management #20

Description

@ferranbt

Configuration options on the server for the max number of connections and the max number of incoming connections allowed. Dialing tasks are idle if there are no more slots to open a connection.

Syncer (or any other service connected to the network) should be able to set a peer as unnecessary at any time (i.e. server.SetUnnecessary(peerID string)). Server would evict that peer from the peerset and dial for another one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    networkPeer and transport protocols

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions