mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 18:04:49 -04:00
Change default sync_response_cache_duration
(#13042)
This commit is contained in:
parent
7d99414edf
commit
c95b04bb0e
5 changed files with 11 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue