mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 03:32:12 -04:00
Fix specifying cache factors via env vars with * in name. (#7580)
This mostly applise to `*stateGroupCache*` and co. Broke in #6391.
This commit is contained in:
parent
eefc6b3a0d
commit
4ba55559ac
4 changed files with 74 additions and 5 deletions
|
@ -643,6 +643,12 @@ caches:
|
|||
# takes priority over setting through the config file.
|
||||
# Ex. SYNAPSE_CACHE_FACTOR_GET_USERS_WHO_SHARE_ROOM_WITH_USER=2.0
|
||||
#
|
||||
# Some caches have '*' and other characters that are not
|
||||
# alphanumeric or underscores. These caches can be named with or
|
||||
# without the special characters stripped. For example, to specify
|
||||
# the cache factor for `*stateGroupCache*` via an environment
|
||||
# variable would be `SYNAPSE_CACHE_FACTOR_STATEGROUPCACHE=2`.
|
||||
#
|
||||
per_cache_factors:
|
||||
#get_users_who_share_room_with_user: 2.0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue