mirror of https://github.com/aria2/aria2
Change defaults: Enable 16M disk cache by default.
parent
732ed1fb8b
commit
4be7ec380f
|
@ -1089,7 +1089,7 @@ Advanced Options
|
|||
unit and it is reordered by the offset of the file. If hash
|
||||
checking is involved and the data are cached in memory, we don't
|
||||
need to read them from the disk. SIZE can include ``K`` or ``M``
|
||||
(1K = 1024, 1M = 1024K). Default: ``0``
|
||||
(1K = 1024, 1M = 1024K). Default: ``16M``
|
||||
|
||||
.. option:: --download-result=<OPT>
|
||||
|
||||
|
|
|
@ -1154,7 +1154,7 @@ Opções Avançadas
|
|||
unit and it is reordered by the offset of the file. If hash
|
||||
checking is involved and the data are cached in memory, we don't
|
||||
need to read them from the disk. SIZE can include ``K`` or ``M``
|
||||
(1K = 1024, 1M = 1024K). Default: ``0``
|
||||
(1K = 1024, 1M = 1024K). Default: ``16M``
|
||||
|
||||
.. option:: --download-result=<OPT>
|
||||
|
||||
|
|
|
@ -1171,7 +1171,7 @@ FTP, BitTorrent и Metalink. Для загрузки файла, aria2 може
|
|||
т.к. данные записываются большими блоками, и они распределяются через
|
||||
смещение в файле. Если задействована хэш-проверка и данные кэшируются
|
||||
в памяти, то мы не должны читать их с диска. SIZE может включать букву
|
||||
``K`` или ``M`` (1K = 1024, 1M = 1024K). По умолчанию: ``0``
|
||||
``K`` или ``M`` (1K = 1024, 1M = 1024K). По умолчанию: ``16M``
|
||||
|
||||
.. option:: --download-result=<OPT>
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ std::vector<OptionHandler*> OptionHandlerFactory::createOptionHandlers()
|
|||
OptionHandler* op(new UnitNumberOptionHandler
|
||||
(PREF_DISK_CACHE,
|
||||
TEXT_DISK_CACHE,
|
||||
"0",
|
||||
"16M",
|
||||
0));
|
||||
op->addTag(TAG_ADVANCED);
|
||||
handlers.push_back(op);
|
||||
|
|
Loading…
Reference in New Issue