Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-05 11:09:22 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-04-05 11:21:25 +0300
commit87b16abd93ff60acd245776d5b0d914fd580c259 (patch)
tree19dcc2ef755814cf2b19be533df0fe978db46f55 /docs
parent415ca9673d3bd3c06ab94f3d83897c892fce5f27 (diff)
Add HUGO_NUMWORKERMULTIPLIER
And use that to calculate number of workers, if set, else fall back to number of logical CPUs. Also tweak the relevant related settings to match the new setup. Also remove the setting of `runtime.GOMAXPROCS` as this has been the default behaviour since Go 1.5. Fixes #5814
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/getting-started/configuration.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md
index 5b310db15..4ef42465f 100644
--- a/docs/content/en/getting-started/configuration.md
+++ b/docs/content/en/getting-started/configuration.md
@@ -297,6 +297,11 @@ enableemoji: true
```
{{% /note %}}
+## Configuration Environment Variables
+
+HUGO_NUMWORKERMULTIPLIER
+: Can be set to increase or reduce the number of workers used in parallel processing in Hugo. If not set, the number of logical CPUs will be used.
+
## Configuration Lookup Order
Similar to the template [lookup order][], Hugo has a default set of rules for searching for a configuration file in the root of your website's source directory as a default behavior: