mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Maximum number of half-open connections can now be changed from program preferences (default is now 50 instead of unlimited)
This commit is contained in:
parent
daff6dce4c
commit
63457c034f
6 changed files with 32 additions and 4 deletions
|
@ -445,6 +445,8 @@ void Bittorrent::configureSession() {
|
|||
// Include overhead in transfer limits
|
||||
sessionSettings.rate_limit_ip_overhead = Preferences::includeOverheadInLimits();
|
||||
// Bittorrent
|
||||
// * Max Half-open connections
|
||||
s->set_max_half_open_connections(Preferences::getMaxHalfOpenConnections());
|
||||
// * Max connections limit
|
||||
setMaxConnections(Preferences::getMaxConnecs());
|
||||
// * Max connections per torrent limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue