diff options
author | Erik Johnston <erik@matrix.org> | 2021-06-11 10:27:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 10:27:12 +0100 |
commit | d26d15ba3d63867d777070185b96d06c2b3646f0 (patch) | |
tree | 017d9d6280306bb7ff1dd971a3cdc49eede9d164 /synapse/storage/databases | |
parent | Add metrics to track how often events are `soft_failed` (#10156) (diff) | |
download | synapse-d26d15ba3d63867d777070185b96d06c2b3646f0.tar.xz |
Fix bug when running presence off master (#10149)
Hopefully fixes #10027.
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/presence.py b/synapse/storage/databases/main/presence.py index 6a2baa7841..1388771c40 100644 --- a/synapse/storage/databases/main/presence.py +++ b/synapse/storage/databases/main/presence.py @@ -50,7 +50,7 @@ class PresenceStore(SQLBaseStore): instance_name=self._instance_name, tables=[("presence_stream", "instance_name", "stream_id")], sequence_name="presence_stream_sequence", - writers=hs.config.worker.writers.to_device, + writers=hs.config.worker.writers.presence, ) else: self._presence_id_gen = StreamIdGenerator( |