Concerning the config setting timeout
, official documentation states:
Timeout for generating page contents,
specified as a duration or in milliseconds.
In my hugo.yml
, I’m declaring:
timeout: 20
I expect that the operation times out after 20 ms. After 20 seconds, however, I’m getting:
Error: error building site:...
partial "foo.html" timed out after 20s.
This is most likely due to infinite recursion.
If this is just a slow template, you can try
to increase the 'timeout' config setting.
Is the documentation incorrect here?