QuilibriumNetwork / ceremonyclient

Mirror of Quilibrium git repo: ceremonyclient
GNU Affero General Public License v3.0
95 stars 41 forks source link

Ensure direct peers are not pruned by resource limits #315

Closed petricadaipegsp closed 2 weeks ago

petricadaipegsp commented 3 weeks ago

This PR makes both the bootstrap peers and the direct peers be part of the resource limiter allowed list. This ensures that the connections are not pruned by the resource manager.

cc @CassOnMars

CassOnMars commented 2 weeks ago

I agree with this addition, but it is worth noting that unless low/high watermarks are explicitly configured, the resource manager here never gets set, instead using the default one