mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-07 03:02:39 -04: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
|
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
|
#### Background tasks
|
||||||
|
|
||||||
There is also *experimental* support for moving background tasks to a separate
|
There is also *experimental* support for moving background tasks to a separate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue