You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
While importing historical Gitter archives into Gitter's homeserver we added a patch to improve performance:
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py--- a/synapse/handlers/message.py+++ b/synapse/handlers/message.py@@ -502,7 +502,7 @@
# We arbitrarily limit concurrent event creation for a room to 5.
# This is to stop us from diverging history *too* much.
- self.limiter = Linearizer(max_count=5, name="room_event_creation_limit")+ self.limiter = Linearizer(max_count=1, name="room_event_creation_limit")
self._bulk_push_rule_evaluator = hs.get_bulk_push_rule_evaluator()
For cross-linking, there was an old issue about doing this in #8612.
Unfortunately this changes was applied at the same time as a few other changes (disabling push and increasing the number of workers), so it is unclear how much impact this change had.
Activity