We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4798777 commit 245e7daCopy full SHA for 245e7da
core/node/libp2p/rcmgr_defaults.go
@@ -4,6 +4,7 @@ import (
4
"encoding/json"
5
"fmt"
6
"math/bits"
7
+ "os"
8
"strings"
9
10
config "github.com/ipfs/go-ipfs/config"
@@ -19,7 +20,10 @@ import (
19
20
// such as values in Swarm.ConnMgr.HiWater config.
21
func adjustedDefaultLimits(cfg config.SwarmConfig) rcmgr.DefaultLimitConfig {
22
// Run checks to avoid introducing regressions
- checkImplicitDefaults()
23
+ if os.Getenv("IPFS_CHECK_RCMGR_DEFAULTS") != "" {
24
+ // FIXME: Broken. Being tracked in https://github.com/ipfs/go-ipfs/issues/8949.
25
+ checkImplicitDefaults()
26
+ }
27
28
// Return to use unmodified static limits based on values from go-libp2p 0.18
29
// return defaultLimits
0 commit comments