Skip to content

Commit

Permalink
Improve the environment variables documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra committed Jul 30, 2024
1 parent 5fc533c commit 4cb541d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions documentation/usage/env.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Environment variables

Betty reads the following environment variables:

- ``BETTY_CACHE_DIRECTORY``: The path to a directory for Betty to use as its application cache. Defaults to ``.betty`` in the current user's home directory.
- ``BETTY_CONCURRENCY``: The concurrency factor expressed as an integer. Defaults to the number of CPU cores. Set to ``1``
to disable concurrency altogether. Example: ``BETTY_CONCURRENCY=4``.
``BETTY_CACHE_DIRECTORY``
The path to a directory for Betty to use as its application cache.
Defaults to ``.betty`` in the current user's home directory.
This is primarily used for testing an externally running Betty application.

0 comments on commit 4cb541d

Please sign in to comment.