From 966ac168aa9254841aef4ae07b392948c51d8eff Mon Sep 17 00:00:00 2001 From: Javed Khan Date: Thu, 21 Sep 2017 20:37:49 +0530 Subject: [PATCH 1/2] docs: update common options related to workers --- docs/Configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 24fca77c4..524c89acd 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -19,8 +19,8 @@ Will create a datadir of `~/.bcoin_spv`, containing a chain database, wallet dat - `config`: Points to a custom config file, not in the prefix directory. - `network`: Which network's chainparams to use for the node (main, testnet, regtest, or segnet4) (default: main). -- `use-workers`: Whether to use a worker process pool for transaction verification (default: true). -- `max-workers`: Number of worker processes to spawn for transaction verification. By default, the worker pool will be sized based on the number of CPUs/cores in the machine. +- `workers`: Whether to use a worker process pool for transaction verification (default: true). +- `workers-size`: Number of worker processes to spawn for transaction verification. By default, the worker pool will be sized based on the number of CPUs/cores in the machine. - `sigcache-size`: Max number of items in signature cache. ## Node Options @@ -94,4 +94,4 @@ Note that certain chain options affect the format and indexing of the chain data ## Sample Config File -See https://github.com/bcoin-org/bcoin/blob/master/etc/sample.conf. \ No newline at end of file +See https://github.com/bcoin-org/bcoin/blob/master/etc/sample.conf. From a1b5cdc88ad84f9d085bdf35b038787f05dc1ffd Mon Sep 17 00:00:00 2001 From: Javed Khan Date: Tue, 17 Oct 2017 00:45:38 +0530 Subject: [PATCH 2/2] docs: add workers-timeout under worker options --- docs/Configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Configuration.md b/docs/Configuration.md index 524c89acd..b094e1d0f 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -21,6 +21,7 @@ Will create a datadir of `~/.bcoin_spv`, containing a chain database, wallet dat - `network`: Which network's chainparams to use for the node (main, testnet, regtest, or segnet4) (default: main). - `workers`: Whether to use a worker process pool for transaction verification (default: true). - `workers-size`: Number of worker processes to spawn for transaction verification. By default, the worker pool will be sized based on the number of CPUs/cores in the machine. +- `workers-timeout`: Worker process execution timeout in milliseconds (default: 120000). - `sigcache-size`: Max number of items in signature cache. ## Node Options