2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-04-01 00:51:06 +00:00

Prevent multiple background workers without global cache (#8401)

* Prevent multiple background workers without global cache

* Documentation updates

- New page dedicated to InvenTree process stack
- Update links
- Consolidate information

* Update mkdocs.yml
This commit is contained in:
Oliver
2024-11-01 07:23:08 +11:00
committed by GitHub
parent 913a05cf45
commit 801b32e4e3
13 changed files with 143 additions and 113 deletions

View File

@@ -132,11 +132,14 @@ To update InvenTree run `apt install --only-upgrade inventree` - this might need
## Controlling InvenTree
### Services
InvenTree installs multiple services that can be controlled with your local system runner (`service` or `systemctl`).
The service `inventree` controls everything, `inventree-web` the (internal) webserver and `inventree-worker` the background worker(s).
The service `inventree` controls everything, `inventree-web` (the [InvenTree web server](./processes.md#web-server)) and `inventree-worker` the [background worker(s)](./processes.md#background-worker).
More instances of the worker can be instantiated from the command line. This is only meant for advanced users.
This sample script launches 3 services. By default, 1 is launched.
```bash
inventree scale worker=3
```