summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-05-07 19:51:38 +0100
committerGitHub <noreply@github.com>2020-05-07 19:51:38 +0100
commitaa5aa6f96abaeb3470513a396d087e2a9cdd3597 (patch)
tree09f2196c05728ca1f47d23abead7bdd604fbad8a
parentDrop support for redis.dbid (#7450) (diff)
downloadsynapse-aa5aa6f96abaeb3470513a396d087e2a9cdd3597.tar.xz
Fix errors from malformed log line (#7454)
-rw-r--r--changelog.d/7454.feature1
-rw-r--r--synapse/replication/tcp/redis.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7454.feature b/changelog.d/7454.feature
new file mode 100644
index 0000000000..ce6140fdd1
--- /dev/null
+++ b/changelog.d/7454.feature
@@ -0,0 +1 @@
+Add support for running replication over Redis when using workers.
diff --git a/synapse/replication/tcp/redis.py b/synapse/replication/tcp/redis.py
index db69f92557..55bfa71dfd 100644
--- a/synapse/replication/tcp/redis.py
+++ b/synapse/replication/tcp/redis.py
@@ -96,7 +96,7 @@ class RedisSubscriber(txredisapi.SubscriberProtocol, AbstractConnection):
             cmd = parse_command_from_line(message)
         except Exception:
             logger.exception(
-                "[%s] failed to parse line: %r", message,
+                "Failed to parse replication line: %r", message,
             )
             return