File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11---
22name : synapse
3- version : 0.34 .0
3+ version : 0.35 .0
Original file line number Diff line number Diff line change @@ -291,6 +291,15 @@ data:
291291 enabled: true
292292 {{- end }}
293293 {{- end }}
294+ caches:
295+ expire_caches: true
296+ global_factor: {{ $.Values.synapse.caches.globalFactor }}
297+ cache_entry_ttl: {{ $.Values.synapse.caches.cacheEntryTtl }}
298+ sync_response_cache_duration: {{ $.Values.synapse.caches.syncResponseCacheDuration }}
299+ cache_autotuning:
300+ max_cache_memory_usage: {{ $.Values.synapse.cacheAutotuning.maxCacheMemoryUsage }}
301+ target_cache_memory_usage: {{ $.Values.synapse.cacheAutotuning.targetCacheMemoryUsage }}
302+ min_cache_ttl: {{ $.Values.synapse.cacheAutotuning.minCacheTtl }}
294303
295304 log.config : |
296305 ---
Original file line number Diff line number Diff line change @@ -199,6 +199,15 @@ synapse:
199199 interval : 12h
200200 - shortest_max_lifetime : 3d
201201 interval : 1d
202+ # https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#caches
203+ caches :
204+ globalFactor : 1.0
205+ cacheEntryTtl : ' 30m'
206+ syncResponseCacheDuration : ' 2m'
207+ cacheAutotuning :
208+ maxCacheMemoryUsage : ' 1024M'
209+ targetCacheMemoryUsage : ' 512M'
210+ minCacheTtl : ' 5m'
202211
203212rc_message :
204213 per_second : 100
You can’t perform that action at this time.
0 commit comments