#2257: Allow setting of active_dht_limit, active_tracker_limit and
active_lsd_limit. Fix bugs.
----------------------+-----------------------------------------------------
Reporter: Chionsas | Owner:
Type: patch | Status: new
Priority: major | Milestone: 1.3.6
Component: core | Version: git 1.3-stable
Keywords: |
----------------------+-----------------------------------------------------
Comment(by Chionsas):
It seems that {{{active_dht_limit}}}, {{{active_tracker_limit}}} and
{{{active_lsd_limit}}} are new features of libtorrent 0.16. Prior to this
version (0.15 and below), only active_limit existed. Thereore, it's not a
bug of deluge per se, as deluge oficially only supports libtorrent 0.14
and 0.15.
Furthermore, it's now clear that libtorrent 0.16.0 to 0.16.3 has an
{{{active_tracker_limit}}} of 360 and in versions 0.16.4 to 0.16.6 it's
increased to 1600.
The patch attached (default values of -1) effectively removes these new
limits, making libtorrent function as it was with before with only
active_limit. It is not clear if this has any performance implications.
Running it on my own box with 1000+ torrents, no performance issues were
observed.
It was talked about in IRC that new code that ''gazpachoking'' is working
on should expose these new variables to the GUI. So we could use sane
values for defaults instead of -1, as the user will be able to change them
easily, along with {{{active_limit}}}.
I'm now attaching a patch for the '''master branch'''. The only difference
between patches is that the Python code in master does not require to
explicitly call {{{register_set_function()}}} parameter setters. It's all
done automatically in {{{do_config_set_func}}}, which is a good thing :)
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2257#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.