소스 검색

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,