diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-10-14 00:13:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-10-14 00:13:29 +0900 |
| commit | f72a303b8deb702a2ea4f63280302f88741da581 (patch) | |
| tree | 9df1a81101fe93b1eb9b545559f0148dde504591 /src/prefs.cc | |
| parent | 09d79565376c03b3e735793703c1dc185d413c31 (diff) | |
Add --bt-detach-seed-only option
This option excludes seed only downloads when counting concurrent
active downloads (-j option). This means that if -j3 is given and
this option is turned on and 3 downloads are active and one of those
enters seed mode, then it is excluded from active download count (thus
it becomes 2), and the next download waiting in queue gets started.
But be aware that seeding item is still recognized as active download
in RPC method.
Diffstat (limited to 'src/prefs.cc')
| -rw-r--r-- | src/prefs.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.cc b/src/prefs.cc index 4ceea78a..a6de66ef 100644 --- a/src/prefs.cc +++ b/src/prefs.cc @@ -542,6 +542,7 @@ PrefPtr PREF_BT_EXCLUDE_TRACKER = makePref("bt-exclude-tracker"); // values: true | false PrefPtr PREF_BT_REMOVE_UNSELECTED_FILE = makePref("bt-remove-unselected-file"); +PrefPtr PREF_BT_DETACH_SEED_ONLY = makePref("bt-detach-seed-only"); /** * Metalink related preferences |
