Skip to content

Commit

Permalink
rcmgr: fix connmgr connection limit conflict warning (#2648)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt authored Dec 1, 2023
1 parent 19ffd56 commit 7e18493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/host/resource-manager/extapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ func (r *resourceManager) Stat() (result ResourceManagerStat) {
}

func (r *resourceManager) GetConnLimit() int {
return r.limits.GetConnLimits().GetConnTotalLimit()
return r.limits.GetSystemLimits().GetConnTotalLimit()
}

0 comments on commit 7e18493

Please sign in to comment.