summaryrefslogtreecommitdiff
path: root/src/prefs.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-10-14 00:13:29 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-10-14 00:13:29 +0900
commitf72a303b8deb702a2ea4f63280302f88741da581 (patch)
tree9df1a81101fe93b1eb9b545559f0148dde504591 /src/prefs.cc
parent09d79565376c03b3e735793703c1dc185d413c31 (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.cc1
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