mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-04-23 19:29:09 -04:00
Disable local event creation concurrency
This commit is contained in:
parent
bef7fb88c5
commit
d4ec0b6762
@ -388,7 +388,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.action_generator = hs.get_action_generator()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user