You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reviewing / investigating ChainSafe/js-libp2p-gossipsub#86, I'd remembered that the libp2p connection manager contained some sort of "latency monitoring" which might be used to resolve this issue.
Upon further review, it became clear that the code from the latency-monitor package/repo had been inlined in this repo in #587, possibly to reduce the bundle size.
Should this library be inlined? (Are there other libraries also inlined?)
Should libp2p rely on the upstream library?
The text was updated successfully, but these errors were encountered:
This package is mostly unmaintained and should actually be refactored or removed, at the time of #587 pushing the changes needed upstream would be unlikely so we decided to just inline. But this should not be our general approach to external dependencies.
Type: Question
Severity: Low
Description:
In reviewing / investigating ChainSafe/js-libp2p-gossipsub#86, I'd remembered that the libp2p connection manager contained some sort of "latency monitoring" which might be used to resolve this issue.
Upon further review, it became clear that the code from the
latency-monitor
package/repo had been inlined in this repo in #587, possibly to reduce the bundle size.Should this library be inlined? (Are there other libraries also inlined?)
Should libp2p rely on the upstream library?
The text was updated successfully, but these errors were encountered: