mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
Document how to set up multiple event persisters (#8706)
This commit is contained in:
parent
d04c2d19b3
commit
4b09b7438e
2 changed files with 13 additions and 0 deletions
1
changelog.d/8706.doc
Normal file
1
changelog.d/8706.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Document experimental support for running multiple event persisters.
|
|
@ -319,6 +319,18 @@ stream_writers:
|
|||
events: event_persister1
|
||||
```
|
||||
|
||||
The `events` stream also experimentally supports having multiple writers, where
|
||||
work is sharded between them by room ID. Note that you *must* restart all worker
|
||||
instances when adding or removing event persisters. An example `stream_writers`
|
||||
configuration with multiple writers:
|
||||
|
||||
```yaml
|
||||
stream_writers:
|
||||
events:
|
||||
- event_persister1
|
||||
- event_persister2
|
||||
```
|
||||
|
||||
#### Background tasks
|
||||
|
||||
There is also *experimental* support for moving background tasks to a separate
|
||||
|
|
Loading…
Reference in a new issue