diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-11-17 19:33:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-11-17 19:33:18 +0900 |
| commit | 4d105a2686885d7ff682ed1bf702b81372708482 (patch) | |
| tree | 0c30b8fb62ede330776923df3def60869bad4402 /src/OptionHandlerFactory.cc | |
| parent | c4334ec57908864fed952c52c6b6416ecd40f514 (diff) | |
Limit number of opened file globally with --bt-max-open-files option
This change changes the behavior of --bt-max-open-files. Previously,
it specifies the maximum number of opened files for each multi-file
download. Since it is more useful to limit the number globally, the
option now specifies the global limit. This change suggests that
aria2.changeOption() method now ignores --bt-max-open-files and
aria2.changeGlobalOption now reads it and dynamically change the
limit.
Diffstat (limited to 'src/OptionHandlerFactory.cc')
| -rw-r--r-- | src/OptionHandlerFactory.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 304de9e0..aa0c9e32 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -1720,9 +1720,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers() "100", 1)); op->addTag(TAG_BITTORRENT); - op->setInitialOption(true); op->setChangeGlobalOption(true); - op->setChangeOptionForReserved(true); handlers.push_back(op); } { |
