Skip to content
Snippets Groups Projects
Unverified Commit 9bac5d62 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Ensure ReplicationStreamer is always started when replication enabled. (#7579)

Fixes #7566.
parent b3b2038b
No related branches found
No related tags found
No related merge requests found
Fix bug where `ReplicationStreamer` was not always started when replication was enabled. Bug introduced in v1.14.0rc1.
......@@ -159,6 +159,9 @@ class ReplicationCommandHandler:
hs.config.redis_port,
)
# First let's ensure that we have a ReplicationStreamer started.
hs.get_replication_streamer()
# We need two connections to redis, one for the subscription stream and
# one to send commands to (as you can't send further redis commands to a
# connection after SUBSCRIBE is called).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment