open-services / open-registry

Community Owned JavaScript Registry
https://open-registry.dev
MIT License
266 stars 8 forks source link

avoid Open-Registry to kill connections coming from Bolivar #41

Open victorb opened 5 years ago

victorb commented 5 years ago

The Connection Manager in the IPFS node for Open-Registry has a limit of 2000 connections before it starts disconnecting them.

We should avoid to close connections to Bolivar, as we want to make sure those peers can always be connected to Open-Registry.

Currently, Bolivar has a "protection mechanism" which involves checking if we're connected to the Open-Registry node, and if not, reconnect to it. This is a very hacky solution though.