mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
docs: remove broken link (#3375)
This commit is contained in:
@@ -47,7 +47,7 @@ limits := cfg.Build(scaledDefaultLimits)
|
||||
// The resource manager expects a limiter, se we create one from our limits.
|
||||
limiter := rcmgr.NewFixedLimiter(limits)
|
||||
|
||||
// Metrics are enabled by default. If you want to disable metrics, use the
|
||||
// Metrics are enabled by default. If you want to disable metrics, use the
|
||||
// WithMetricsDisabled option
|
||||
// Initialize the resource manager
|
||||
rm, err := rcmgr.NewResourceManager(limiter, rcmgr.WithMetricsDisabled())
|
||||
@@ -464,8 +464,6 @@ seen the `"resource limit exceeded"` error over time. You can also check the
|
||||
`rcmgr_blocked_resources` metric to see how many times the resource manager has
|
||||
blocked a resource over time.
|
||||
|
||||

|
||||
|
||||
If the resource is blocked by a protocol-level scope, take a look at the various
|
||||
resource usages in the metrics. For example, if you run into a new stream being blocked,
|
||||
you can check the
|
||||
|
Reference in New Issue
Block a user