mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 10:14:19 -05:00
Document how to set up multiple event persisters (#8706)
This commit is contained in:
parent
d04c2d19b3
commit
4b09b7438e
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 New Issue
Block a user