Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inlined latency-monitor code #825

Closed
wemeetagain opened this issue Dec 5, 2020 · 3 comments
Closed

Inlined latency-monitor code #825

wemeetagain opened this issue Dec 5, 2020 · 3 comments

Comments

@wemeetagain
Copy link
Member

  • Version: master
  • Platform: *
  • Subsystem: connection-manager

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?

@vasco-santos
Copy link
Member

I am not really sure about the reasoning for this.

@jacobheun @hugomrdias can you help here?

@hugomrdias
Copy link
Member

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.

@lidel
Copy link
Member

lidel commented Mar 29, 2021

I believe https://discuss.libp2p.io is a better place for asking questions (keeping github limited to actionalble issues/bug reports)

@lidel lidel closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants