mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
docs: DefaultResourceMgrMinInboundConns
This commit is contained in:
parent
a3c70a11e6
commit
f2dab48e66
@ -152,7 +152,7 @@ existing low priority idle connections can prevent new high priority connections
|
||||
The ResourceMgr doesn't know that the new connection is high priority and simply blocks it because of the limit its enforcing.
|
||||
|
||||
To ensure the ConnMgr and ResourceMgr are congruent, the ResourceMgr [computed default limts](#computed-default-limits) are adjusted such that:
|
||||
1. `Swarm.ResourceMgr.Limits.System.ConnsInbound` >= `max(Swarm.ConnMgr.HighWater * 2, 800)` AND
|
||||
1. `Swarm.ResourceMgr.Limits.System.ConnsInbound` >= `max(Swarm.ConnMgr.HighWater * 2, DefaultResourceMgrMinInboundConns)` AND
|
||||
2. `Swarm.ResourceMgr.Limits.System.StreamsInbound` is greater than any new/adjusted `Swarm.ResourceMgr.Limits.System.ConnsInbound` value so that there's enough streams per connection.
|
||||
|
||||
### How does one see the Active Limits?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user