summary refs log tree commit diff
path: root/synapse/config/cache.py
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 /synapse/config/cache.py
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 'synapse/config/cache.py')
-rw-r--r--synapse/config/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/cache.py b/synapse/config/cache.py
index d0b491ea6c..63310c8d07 100644
--- a/synapse/config/cache.py
+++ b/synapse/config/cache.py
@@ -206,7 +206,7 @@ class CacheConfig(Config):
             self.cache_autotuning["min_cache_ttl"] = self.parse_duration(min_cache_ttl)
 
         self.sync_response_cache_duration = self.parse_duration(
-            cache_config.get("sync_response_cache_duration", 0)
+            cache_config.get("sync_response_cache_duration", "2m")
         )
 
     def resize_all_caches(self) -> None: