kubo/core/node/libp2p
Gus Eggert 87fca8f225
fix: adjust rcmgr limits for accelerated DHT client rt refresh (#8982)
* fix: adjust rcmgr limits for accelerated DHT client rt refresh

The Accelerated DHT client periodically refreshes its routing table,
including at startup, and if Resource Manager throttling causes the
client's routing table to be incomplete, then content routing may be
degraded or broken for users.

This adjusts the default limits to a level that empirically doesn't
cause Resource Manager throttling during initial DHT client
bootstrapping. Ideally the Accelerated DHT client would handle this
scenario more gracefully, but this works for now to unblock the 0.13
release.

* Set default outbound conns unconditionally

This also sets the default overall conns as a function of the outbound
and inbound conns, since they are adjusted dynamically, and it makes
the intention of the value clear.

* increase min FD limit

(cherry picked from commit b8617b9966)
2022-06-08 14:24:43 -04:00
..
addrs.go feat: Addresses.AppendAnnounce (#8177) 2021-11-30 17:58:19 +01:00
discovery.go fix(discovery): fix daemon not starting due to mdns startup failure (#8704) 2022-03-09 07:08:24 -08:00
dns.go explicit construction of DNS resolver 2021-05-10 21:03:27 -07:00
filters.go use a ConnectionManager for filtering addresses 2021-08-19 18:04:48 +02:00
host.go feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563) 2021-11-29 19:58:05 +01:00
hostopt.go feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563) 2021-11-29 19:58:05 +01:00
libp2p_test.go add a test case for libp2p option prioritization 2022-02-28 15:26:06 +04:00
libp2p.go feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00
nat.go fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00
peerstore.go feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563) 2021-11-29 19:58:05 +01:00
pnet.go update to new private network interfaces 2020-03-09 19:39:06 -07:00
pubsub.go fix(pubsub): flood publish 2020-05-29 16:42:10 -07:00
rcmgr_defaults.go fix: adjust rcmgr limits for accelerated DHT client rt refresh (#8982) 2022-06-08 14:24:43 -04:00
rcmgr_logging_test.go feat: log when resource manager limits are exceeded (#8980) 2022-06-08 14:24:43 -04:00
rcmgr_logging.go feat: log when resource manager limits are exceeded (#8980) 2022-06-08 14:24:43 -04:00
rcmgr_metrics.go feat: enable Resource Manager by default 2022-05-04 14:08:37 -04:00
rcmgr.go feat: log when resource manager limits are exceeded (#8980) 2022-06-08 14:24:43 -04:00
relay.go fix: add info log indicating that hole punching has been disabled when it is left as the default but the relay client is disabled. 2022-05-03 14:26:09 -04:00
routing.go feat: relay v2 discovery (go-libp2p v0.19.0) (#8868) 2022-04-28 17:13:15 +02:00
routingopt.go integrate experimental AcceleratedDHTClient 2021-05-14 04:31:06 -04:00
sec.go fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00
smux.go feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00
topicdiscovery.go ipns(pubsub): utilize persistent pubsub value store 2019-12-11 11:52:05 -05:00
transport.go fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00