matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/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
..
bin /usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user 2022-11-27 09:26:18 +02:00
customizations Add support for customizing Synapse templates 2023-02-17 19:37:34 +02:00
ext/s3-storage-provider Fix s3-storage migrate and shell (#3136) 2024-01-27 18:03:37 +02:00
prometheus Rename label-related variables for homeservers 2024-01-14 10:48:54 +02:00
systemd Added extra systemd service arguments to synapse workers and proxy companion 2024-01-24 13:14:34 -06:00
homeserver.yaml.j2 Ensure integer values are used for cache_autotuning settings in homeserver.yaml 2024-02-14 13:36:20 +02:00
labels.j2 Remove some useless oidc variables and /_synapse/oidc route handling 2024-01-17 14:45:19 +02:00
synapse.log.config.j2 Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
worker-labels.j2 Fix some comments in worker-labels for Synapse 2024-02-03 18:53:17 +02:00
worker.yaml.j2 Enable HTTP resources for new worker types 2024-01-16 16:51:23 -06:00