mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-03 07:46:05 -04:00
Add experimental option to reduce extremities.
Adds new config option `cleanup_extremities_with_dummy_events` which periodically sends dummy events to rooms with more than 10 extremities. THIS IS REALLY EXPERIMENTAL.
This commit is contained in:
parent
6840ebeef8
commit
b42f90470f
6 changed files with 162 additions and 1 deletions
|
@ -168,6 +168,9 @@ class FederationSender(object):
|
|||
if not is_mine and send_on_behalf_of is None:
|
||||
return
|
||||
|
||||
if not event.internal_metadata.should_proactively_send():
|
||||
return
|
||||
|
||||
try:
|
||||
# Get the state from before the event.
|
||||
# We need to make sure that this is the state from before
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue