Skip to content

Commit

Permalink
disable rcmgr by default for now
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 10, 2022
1 parent 678c040 commit 557c381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var LibP2P = Options(

// Services (resource management)
Override(new(network.ResourceManager), lp2p.ResourceManager),
If(os.Getenv("LOTUS_RCMGR") != "0", Override(ResourceManagerKey, lp2p.ResourceManagerOption)),
If(os.Getenv("LOTUS_RCMGR") != "" && os.Getenv("LOTUS_RCMGR") != "0", Override(ResourceManagerKey, lp2p.ResourceManagerOption)),
)

func IsType(t repo.RepoType) func(s *Settings) bool {
Expand Down

0 comments on commit 557c381

Please sign in to comment.