Merge pull request #6967 from matrix-org/rav/increase_max_events_behind

Increase MAX_EVENTS_BEHIND for replication clients
This commit is contained in:
Richard van der Hoff 2020-02-21 10:17:28 +00:00 committed by GitHub
commit 272eee1ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6967.bugfix Normal file
View File

@ -0,0 +1 @@
Fix an issue affecting worker-based deployments where replication would stop working, necessitating a full restart, after joining a large room.

View File

@ -24,7 +24,7 @@ import attr
logger = logging.getLogger(__name__)
MAX_EVENTS_BEHIND = 10000
MAX_EVENTS_BEHIND = 500000
BackfillStreamRow = namedtuple(
"BackfillStreamRow",