ipfs / ipfs/js-ipfs-bitswap

Remove incoming stream timeout?

Open
#523 1 comment 0 reactions 0 assignees View on GitHub
need/triage
Dominant language
TypeScript
Stars
75
Forks
43
PR merge metrics
No merged PRs in 30d

Description

This module has an `incomingStreamTimeout` option that closes an incoming stream if data isn't received after that many ms.

It uses an `abortable-source` which [has been shown to be a performance bottleneck](https://github.com/ChainSafe/js-libp2p-gossipsub/pull/361).

Instead maybe we cold rely on the underlying connection's timeout instead?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.