summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-14 13:53:02 +0000
committerRichard van der Hoff <richard@matrix.org>2020-02-21 09:04:33 +0000
commit0bd8cf435e307a72c91667caff746fec7c233f16 (patch)
tree09f4b6f26599c945482386ae09aa807d7ce356d5
parentDo not send alias events when creating / upgrading a room (#6941) (diff)
downloadsynapse-0bd8cf435e307a72c91667caff746fec7c233f16.tar.xz
Increase MAX_EVENTS_BEHIND for replication clients
-rw-r--r--synapse/replication/tcp/streams/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/tcp/streams/_base.py b/synapse/replication/tcp/streams/_base.py
index a8d568b14a..208e8a667b 100644
--- a/synapse/replication/tcp/streams/_base.py
+++ b/synapse/replication/tcp/streams/_base.py
@@ -24,7 +24,7 @@ import attr
 logger = logging.getLogger(__name__)
 
 
-MAX_EVENTS_BEHIND = 10000
+MAX_EVENTS_BEHIND = 500000
 
 BackfillStreamRow = namedtuple(
     "BackfillStreamRow",