Merge pull request #6967 from matrix-org/rav/increase_max_events_behind
Increase MAX_EVENTS_BEHIND for replication clients
This commit is contained in:
commit
272eee1ae1
|
@ -0,0 +1 @@
|
||||||
|
Fix an issue affecting worker-based deployments where replication would stop working, necessitating a full restart, after joining a large room.
|
|
@ -24,7 +24,7 @@ import attr
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
MAX_EVENTS_BEHIND = 10000
|
MAX_EVENTS_BEHIND = 500000
|
||||||
|
|
||||||
BackfillStreamRow = namedtuple(
|
BackfillStreamRow = namedtuple(
|
||||||
"BackfillStreamRow",
|
"BackfillStreamRow",
|
||||||
|
|
Loading…
Reference in New Issue