|
|
@ -776,11 +776,16 @@ caches:
|
|
|
|
per_cache_factors:
|
|
|
|
per_cache_factors:
|
|
|
|
#get_users_who_share_room_with_user: 2.0
|
|
|
|
#get_users_who_share_room_with_user: 2.0
|
|
|
|
|
|
|
|
|
|
|
|
# Controls how long an entry can be in a cache without having been
|
|
|
|
# Controls whether cache entries are evicted after a specified time
|
|
|
|
# accessed before being evicted. Defaults to None, which means
|
|
|
|
# period. Defaults to true. Uncomment to disable this feature.
|
|
|
|
# entries are never evicted based on time.
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#expiry_time: 30m
|
|
|
|
#expire_caches: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If expire_caches is enabled, this flag controls how long an entry can
|
|
|
|
|
|
|
|
# be in a cache without having been accessed before being evicted.
|
|
|
|
|
|
|
|
# Defaults to 30m. Uncomment to set a different time to live for cache entries.
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
#cache_entry_ttl: 30m
|
|
|
|
|
|
|
|
|
|
|
|
# Controls how long the results of a /sync request are cached for after
|
|
|
|
# Controls how long the results of a /sync request are cached for after
|
|
|
|
# a successful response is returned. A higher duration can help clients with
|
|
|
|
# a successful response is returned. A higher duration can help clients with
|
|
|
@ -890,6 +895,9 @@ log_config: "/data/{{ matrix_server_fqn_matrix }}.log.config"
|
|
|
|
# - one for ratelimiting how often a user or IP can attempt to validate a 3PID.
|
|
|
|
# - one for ratelimiting how often a user or IP can attempt to validate a 3PID.
|
|
|
|
# - two for ratelimiting how often invites can be sent in a room or to a
|
|
|
|
# - two for ratelimiting how often invites can be sent in a room or to a
|
|
|
|
# specific user.
|
|
|
|
# specific user.
|
|
|
|
|
|
|
|
# - one for ratelimiting 3PID invites (i.e. invites sent to a third-party ID
|
|
|
|
|
|
|
|
# such as an email address or a phone number) based on the account that's
|
|
|
|
|
|
|
|
# sending the invite.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# The defaults are as shown below.
|
|
|
|
# The defaults are as shown below.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -944,6 +952,10 @@ rc_joins: {{ matrix_synapse_rc_joins|to_json }}
|
|
|
|
# per_user:
|
|
|
|
# per_user:
|
|
|
|
# per_second: 0.003
|
|
|
|
# per_second: 0.003
|
|
|
|
# burst_count: 5
|
|
|
|
# burst_count: 5
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
#rc_third_party_invite:
|
|
|
|
|
|
|
|
# per_second: 0.2
|
|
|
|
|
|
|
|
# burst_count: 10
|
|
|
|
|
|
|
|
|
|
|
|
# Ratelimiting settings for incoming federation
|
|
|
|
# Ratelimiting settings for incoming federation
|
|
|
|
#
|
|
|
|
#
|
|
|
|