Skip to content

Commit

Permalink
Merge pull request #2364 from zerotier/jh-fix-for-lbm
Browse files Browse the repository at this point in the history
Fix for low-bandwidth mode
  • Loading branch information
joseph-henry authored Sep 13, 2024
2 parents a0acc82 + 5ce3d1e commit 4920b68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/OneService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2599,6 +2599,7 @@ class OneServiceImpl : public OneService
fprintf(stderr,"WARNING: using manually-specified secondary and/or tertiary ports. This can cause NAT issues." ZT_EOL_S);
}
_portMappingEnabled = OSUtils::jsonBool(settings["portMappingEnabled"],true);
_node->setLowBandwidthMode(OSUtils::jsonBool(settings["lowBandwidthMode"],false));
#if defined(__LINUX__) || defined(__FreeBSD__)
_multicoreEnabled = OSUtils::jsonBool(settings["multicoreEnabled"],false);
_concurrency = OSUtils::jsonInt(settings["concurrency"],1);
Expand Down

0 comments on commit 4920b68

Please sign in to comment.