Files
transmission/libtransmission/peer-io.cc
Yat Ho 4bd9aa9b06 refactor: prioritise peers slots for downloading torrents (#7306)
* chore: housekeeping

* refactor: allow downloading torrents to steal connection slots

To be exact, the way it works is that downloading torrents will be allowed to start outgoing connections despite the session peer limit is reached. The periodic peer limit enforcements should keep the downloading connections and remove the idle connections in seeding torrents.

* refactor: prefer peers from downloading torrents when enforcing peer limit
2025-10-27 10:43:14 -05:00

20 KiB