massa icon indicating copy to clipboard operation
massa copied to clipboard

Make max_in_connections_per_ip PeerType specific

Open AureliaDolo opened this issue 3 years ago • 0 comments

Also maybe it's worth specifying the max number of open nodes per IP address for each type to give more granularity.

You mean the max_in_connections_per_ip in Network settings would become PeerType specific ?

maybe as a followup

Originally posted by @damip in https://github.com/massalabs/massa/pull/2297#discussion_r813649154

  • [ ] add max_in_connections_per_ip to PeerTypeConnectionConfig
  • [ ] remove max_in_connections_per_ip from NetworkSettings
  • [ ] propagate the changes
  • [ ] update the tests

AureliaDolo avatar Feb 24 '22 09:02 AureliaDolo