matrix-docker-ansible-deploy/roles/custom/matrix-synapse
Slavi Pantaleev 3d73ec887a Ensure integer values are used for cache_autotuning settings in homeserver.yaml
We're casting everything it `int`, but since Jinja templates are
involved, these values end up as strings anyway.

Doing `| int | to_json` is good, but we should only cast numbers to
integer, not empty strings, as that (0) may be interpreted differently
by Synapse.

To turn of auto-tuning, one is possibly supposed to pass empty strings:

> This option defaults to off, enable it by providing values for the sub-options listed below.

It could be that `0` is also considered "no value provided", but I
haven't verified that.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3017
2024-02-14 13:36:20 +02:00
..
defaults Ensure cache_autotuning.max_cache_memory_usage & cache_autotuning.target_cache_memory_usage have int values 2024-02-14 12:20:53 +02:00
tasks Increase Synapse caches and enable cache-autotuning by default (#3017) 2024-02-14 12:02:06 +02:00
templates Ensure integer values are used for cache_autotuning settings in homeserver.yaml 2024-02-14 13:36:20 +02:00
vars Merge branch 'spantaleev:master' into cvwright/room-workers-v2 2024-01-17 08:02:47 -06:00