mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-27 04:26:41 +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.
|
// The resource manager expects a limiter, se we create one from our limits.
|
||||||
limiter := rcmgr.NewFixedLimiter(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
|
// WithMetricsDisabled option
|
||||||
// Initialize the resource manager
|
// Initialize the resource manager
|
||||||
rm, err := rcmgr.NewResourceManager(limiter, rcmgr.WithMetricsDisabled())
|
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
|
`rcmgr_blocked_resources` metric to see how many times the resource manager has
|
||||||
blocked a resource over time.
|
blocked a resource over time.
|
||||||
|
|
||||||

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