Skip to content

Hardcoded lower bound download rate to seller timeout  #48

@mnaamani

Description

@mnaamani

We are imposing a minimum download rate on sellers of approximately 10KB/s before we consider them to be too slow and disconnect them. This is handled in the session by putting an upper bound on how long a seller should take to deliver a full piece.

Is this really a good idea after all? What if a torrent swarm is only made of joystream peers and all are serving the torrent at a low download rate. The buyer could find themselves constantly restarting paid downloads looking for better results.

In such cases it would be more flexible to allow the application to set this limit, or optionally disable it all together.

Solution:
Add plugin requests to be able to change the limit or disable the timeout feature completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions