summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-06-15 17:55:20 +0100
committerGitHub <noreply@github.com>2022-06-15 16:55:20 +0000
commitc95b04bb0e719d3f5de1714b442f95a39c6e3634 (patch)
tree96d0f230fc570ff5e61af1e7ce920562c4ca0aae /docker
parentReplace pyjwt with authlib in `org.matrix.login.jwt` (#13011) (diff)
downloadsynapse-c95b04bb0e719d3f5de1714b442f95a39c6e3634.tar.xz
Change default `sync_response_cache_duration` (#13042)
Diffstat (limited to 'docker')
-rw-r--r--docker/complement/conf/workers-shared-extra.yaml.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/complement/conf/workers-shared-extra.yaml.j2 b/docker/complement/conf/workers-shared-extra.yaml.j2
index a5b1b6bb8b..7c6a0fd756 100644
--- a/docker/complement/conf/workers-shared-extra.yaml.j2
+++ b/docker/complement/conf/workers-shared-extra.yaml.j2
@@ -103,4 +103,10 @@ server_notices:
   system_mxid_avatar_url: ""
   room_name: "Server Alert"
 
+
+# Disable sync cache so that initial `/sync` requests are up-to-date.
+caches:
+  sync_response_cache_duration: 0
+
+
 {% include "shared-orig.yaml.j2" %}