Currently it is possible to get to the ConnectionLimits struct for the current swarm, but it is not possible to read the actual limits, which would be useful to for components that want to check how close to the limit the current state is.
Bonus: It might be nice if there were some methods like has_reached_outgoing_connection_limit for more explicit checks.
Currently it is possible to get to the
ConnectionLimitsstruct for the current swarm, but it is not possible to read the actual limits, which would be useful to for components that want to check how close to the limit the current state is.Bonus: It might be nice if there were some methods like
has_reached_outgoing_connection_limitfor more explicit checks.