Verified Commit 62481d55 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Increase size of get_users_in_room cache

This cache was seeing constant evictions at its former size (70k).

With a size of 200k it now stabilizes at ~122k entries with a
significant drop in server load.
parent 481033af
Pipeline #10328 passed with stage
in 35 seconds
......@@ -715,6 +715,7 @@ caches:
#
per_cache_factors:
#get_users_who_share_room_with_user: 2.0
get_users_in_room: 2.0
# Controls how long an entry can be in a cache without having been
# accessed before being evicted. Defaults to None, which means
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment