Skip to content

Commit

Permalink
Enable connmanager only with lowProfile
Browse files Browse the repository at this point in the history
Signed-off-by: mudler <[email protected]>
  • Loading branch information
mudler committed Oct 25, 2023
1 parent 90265e8 commit 10593ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vpn/vpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func VPNNetworkService(p ...Option) node.NetworkService {

var mgr streamManager

if !c.lowProfile {
if c.lowProfile {
// Create stream manager for outgoing connections
mgr, err = stream.NewConnManager(10, c.MaxStreams)
if err != nil {
Expand Down

0 comments on commit 10593ee

Please sign in to comment.