-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
make it possible to cap event retention time #7756
Comments
It would be good to understand why the current implementation was chosen. I think ideally |
I think this is because it's a direct port of the DINUM implementation. Given they're running through a closed federation, where Ideally, the implementation should be updated so it deletes events on |
thanks @babolivier. I guess there's no harm in having |
see also #7693 |
I'm currently looking at this; it looks like the current implem checks local events against So technically saying that we "do little to counter events generated on remote servers" is wrong, because we reject events that disagree with the local config - which is probably worse. I'll move these checks somewhere else, and use these config settings in two distinct ways:
|
currently it is possible to configure default event retention via the
retention.default_policy
settings (https://github.com/matrix-org/synapse/blob/master/docs/sample_config.yaml#L392), but this can be overridden bym.room.retention
events.allowed_lifetime_{min,max}
prevent users on the local server sendingm.room.retention
events which exceed the bounds, but do little to counter events generated on remote servers.The text was updated successfully, but these errors were encountered: