File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ default_environment: &default_environment
32
32
CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
33
33
CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
34
34
GIT_PAGER : cat
35
+ IPFS_CHECK_RCMGR_DEFAULTS : 1
35
36
36
37
executors :
37
38
golang :
Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
"fmt"
6
6
"math/bits"
7
+ "os"
7
8
"strings"
8
9
9
10
config "github.com/ipfs/go-ipfs/config"
@@ -19,7 +20,10 @@ import (
19
20
// such as values in Swarm.ConnMgr.HiWater config.
20
21
func adjustedDefaultLimits (cfg config.SwarmConfig ) rcmgr.DefaultLimitConfig {
21
22
// Run checks to avoid introducing regressions
22
- 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
+ }
23
27
24
28
// Return to use unmodified static limits based on values from go-libp2p 0.18
25
29
// return defaultLimits
You can’t perform that action at this time.
0 commit comments