rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
885 stars 209 forks source link

Fix honoring "throttle.min_peers*" settings in rtorrent #169

Closed chros73 closed 5 years ago

chros73 commented 6 years ago

Fix honoring throttle.min_peers.normal and throttle.min_peers.seed settings in rtorrent:

Due to this bug, handling interval of announce tracker request is broken:

Required behavior:

Default values for throttle.min_peers* settings: 100

Fixes: #167, https://github.com/rakshasa/rtorrent/issues/386 Refers to: #168

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.01%) to 18.027% when pulling ee8d5be19c1ec77b5989f182dbdff001f81763ec on chros73:fix_min_peers_settings into c167c5a9e0bcf0df23ae5efd91396aae0e37eb87 on rakshasa:master.