mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Disable event creation concurrency within rooms
This commit is contained in:
parent
393cdd4c97
commit
1e91ea1f39
@ -501,7 +501,9 @@ class EventCreationHandler:
|
||||
|
||||
# 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")
|
||||
# meow: there seems to be no reason to allow any more than one event to be created at once.
|
||||
# it just creates unnecessary state resolution without any performance improvements.
|
||||
self.limiter = Linearizer(max_count=1, name="room_event_creation_limit")
|
||||
|
||||
self._bulk_push_rule_evaluator = hs.get_bulk_push_rule_evaluator()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user