Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6967 from matrix-org/rav/increase_max_events_behind
Browse files Browse the repository at this point in the history
Increase MAX_EVENTS_BEHIND for replication clients
  • Loading branch information
richvdh authored Feb 21, 2020
2 parents 4f7e4fc + 1fcb9a1 commit 272eee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6967.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix an issue affecting worker-based deployments where replication would stop working, necessitating a full restart, after joining a large room.
2 changes: 1 addition & 1 deletion synapse/replication/tcp/streams/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
logger = logging.getLogger(__name__)


MAX_EVENTS_BEHIND = 10000
MAX_EVENTS_BEHIND = 500000

BackfillStreamRow = namedtuple(
"BackfillStreamRow",
Expand Down

0 comments on commit 272eee1

Please sign in to comment.