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

Increase MAX_EVENTS_BEHIND for replication clients #6967

Merged
merged 2 commits into from
Feb 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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