浏览代码

Merge pull request #3860 from matrix-org/travis/typo-1

Fix minor typo in exception
Travis Ralston 5 年之前
父节点
当前提交
ad9198cc34
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      changelog.d/3860.misc
  2. 1 1
      synapse/replication/tcp/streams.py

+ 1 - 0
changelog.d/3860.misc

@@ -0,0 +1 @@
+Fix typo in replication stream exception.

+ 1 - 1
synapse/replication/tcp/streams.py

@@ -196,7 +196,7 @@ class Stream(object):
             )
 
             if len(rows) >= MAX_EVENTS_BEHIND:
-                raise Exception("stream %s has fallen behined" % (self.NAME))
+                raise Exception("stream %s has fallen behind" % (self.NAME))
         else:
             rows = yield self.update_function(
                 from_token, current_token,