mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Add a note to the config documentation that the 'delete_stale_devices_after' job always runs on the main process (#15452)
This commit is contained in:
parent
e12d788bb7
commit
929797d939
2 changed files with 5 additions and 0 deletions
1
changelog.d/15452.doc
Normal file
1
changelog.d/15452.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Note that the `delete_stale_devices_after` background job always runs on the main process.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue