Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add a note to the config documentation that the 'delete_stale_devices_after' job always runs on the main process #15452

Merged
merged 2 commits into from Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/15452.doc
@@ -0,0 +1 @@
Note that the `delete_stale_devices_after` background job always runs on the main process.
4 changes: 4 additions & 0 deletions docs/usage/configuration/config_documentation.md
Expand Up @@ -577,6 +577,10 @@ delete any device that hasn't been accessed for more than the specified amount o

Defaults to no duration, which means devices are never pruned.

**Note:** This task will always run on the main process, regardless of the value of
`run_background_tasks_on`. This is due to workers currently not having the ability to
delete devices.

Example configuration:
```yaml
delete_stale_devices_after: 1y
Expand Down