Kaynağa Gözat

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

Fix minor typo in exception
Travis Ralston 5 yıl önce
ebeveyn
işleme
ad9198cc34
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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,