mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
FEATURE: User can choose to apply transfer limits on LAN too
This commit is contained in:
parent
81d3e64518
commit
51e474c893
4 changed files with 26 additions and 2 deletions
|
@ -430,6 +430,8 @@ void Bittorrent::configureSession() {
|
|||
// Outgoing ports
|
||||
sessionSettings.outgoing_ports = std::make_pair(Preferences::outgoingPortsMin(), Preferences::outgoingPortsMax());
|
||||
setSessionSettings(sessionSettings);
|
||||
// Ignore limits on LAN
|
||||
sessionSettings.ignore_limits_on_local_network = Preferences::ignoreLimitsOnLAN();
|
||||
// Bittorrent
|
||||
// * Max connections limit
|
||||
setMaxConnections(Preferences::getMaxConnecs());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue